Template:Author: Difference between revisions
Jump to navigation
Jump to search
Documentation
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
<u>Parameters</u> | <u>Parameters</u> | ||
# Author's name, exactly as it appears on the Author (Lyricist) page. | # Author's name, exactly as it appears on the Author (Lyricist) page. | ||
# First line of <u>text</u>, not necessarily the page title. This text will appear on the Author-Lyricist's page under <big>Texts by (Author)</big>. | # First line of <u>text</u>, same as a text page title (without the author's name) but not necessarily the work page title. This text will appear on the Author-Lyricist's page under <big>Texts by (Author)</big>. | ||
* <tt>yr=</tt> – Year the text was published. | * <tt>yr=</tt> – Year the text was published. | ||
* <tt>page=</tt> – One of three words: (a) <tt>text</tt> for use as a separate line on a text page, ''or'' (b) <tt>work</tt> for use following text on a work page, ''or'' (c) <tt>line</tt> for use within a text line on a work page or text page. Defaults to <tt>text</tt> | * <tt>page=</tt> – One of three words: (a) <tt>text</tt> for use as a separate line on a text page, ''or'' (b) <tt>work</tt> for use following text on a work page, ''or'' (c) <tt>line</tt> for use within a text line on a work page or text page. Defaults to <tt>text</tt> | ||
Line 17: | Line 17: | ||
<u>Appearance of template</u> | <u>Appearance of template</u> | ||
{{{!}}class="wikitable" | {{{!}}class="wikitable" align=center | ||
!color=#ddffdd{{!}}Command | |||
!color=#ddffdd{{!}}page= | !color=#ddffdd{{!}}page= | ||
!color=#ddffdd{{!}}Appearance | !color=#ddffdd{{!}}Appearance | ||
!color=#ddffdd{{!}}Use on pagetype: | !color=#ddffdd{{!}}Use on pagetype: | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}}rowspan=4{{!}}<nowiki>{{Author|Paul Gerhardt|Befiehl du deine Wege|yr=1653|page=…}}</nowiki>{{!}}{{!}}text{{!}}{{!}}'''Author:''' <font color=blue>Paul Gerhardt</font>, 1664{{!}}{{!}}Text page | ||
{{!}} | |||
{{!}} | |||
{{!}}- | {{!}}- | ||
{{!}}work{{!}}{{!}}(<font color=blue>Paul Gerhardt</font>, 1664){{!}}{{!}}Work page, below text | {{!}}work{{!}}{{!}}(<font color=blue>Paul Gerhardt</font>, 1664){{!}}{{!}}Work page, below text |
Revision as of 03:22, 22 February 2021
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
This template is designed for a text page, so that the a link to the text can appear on the author's "Lyricist" page, using template {{AuthorTextsList}}. Template Author may also be used on a work page, below the text.
- Syntax
{{Author|<Author>|<First text line>|yr=<year>|page=<text or work>|an2=<aname2>|an3=<aname3>|pub=<pubname>}}
Parameters
- Author's name, exactly as it appears on the Author (Lyricist) page.
- First line of text, same as a text page title (without the author's name) but not necessarily the work page title. This text will appear on the Author-Lyricist's page under Texts by (Author).
- yr= – Year the text was published.
- page= – One of three words: (a) text for use as a separate line on a text page, or (b) work for use following text on a work page, or (c) line for use within a text line on a work page or text page. Defaults to text
- an2= – (Optional) second author.
- an3= – (Optional) third author.
- pub= – (Optional) title of publication where text first appeared. If you want a link to appear, you must supply square brackets; please do not use either template {{NoCo}} or {{NoComp}} – the curly brackets will mess up the program.
Appearance of template
Command | page= | Appearance | Use on pagetype: |
---|---|---|---|
{{Author|Paul Gerhardt|Befiehl du deine Wege|yr=1653|page=…}} | text | Author: Paul Gerhardt, 1664 | Text page |
work | (Paul Gerhardt, 1664) | Work page, below text | |
line | ……Paul Gerhardt (1664)…… | Either Work or Text page |
- Categorization
Whenever this template is used, the page is included in category Texts by known authors
- Also see
- Template {{Lyricist}}
- Template {{AuthorTextsList}}
- Template {{LyricistSettingsList}}
Version 3 – 2020-11-19