Template:Citation Style documentation/author: Difference between revisions

change <span ... /> to <span ...></span>, the former adds pages to Category:Pages using invalid self-closed HTML tags
imported>Trappist the monk
(discourage use of |authors=)
imported>PrimeHunter
(change <span ... /> to <span ...></span>, the former adds pages to Category:Pages using invalid self-closed HTML tags)
Line 1:
* <span id="csdoc_author" ></span>'''last''': Surname of a single author. Do not wikilink—use '''author-link''' instead. For corporate authors or authors for whom only one name is listed by the source, use '''last''' or one of its aliases (e.g. {{para|author|Bono}}). Aliases: '''last1''', '''surname''', '''surname1''', '''author''', '''author1'''{{#if:{{{aliases|}}}|, {{{aliases}}}}}.
** '''author''': this parameter is used to hold the complete name of a single author (first and last) or to hold the name of a corporate author. This parameter should never hold the names of more than one author.
** '''first''': Given or first names of author; for example: ''Firstname Middlename'' or ''Firstname M.'' or ''Firstname M., Sr.'' Do not wikilink—use '''author-link''' instead. Aliases: '''first1''', '''given''', '''given1'''. Requires '''last'''; first name will not display if '''last''' is empty.
Line 16:
** '''contributor-link''': Title of existing Wikipedia article about the contributor—not the contributor's website; do not wikilink. Aliases: '''contributor-link1''', '''contributor1-link'''.
**OR: for multiple contributors, use '''contributor-link1''' through '''contributor-link<var>n</var>'''. Aliases: '''contributor1-link''' through '''contributor<var>n</var>-link'''.}}
* <span id="csdoc_translator" ></span>'''translator-last''': Surname of translator. Do not wikilink—use '''translator-link''' instead. Aliases: '''translator1''', '''translator1-last''', '''translator-last1'''.
**'''translator-first''': Given or first names of translator. Do not wikilink—use '''translator-link''' instead. Aliases: '''translator1-first''', '''translator-first1'''.
** OR: for multiple translators, use '''translator-last1''', '''translator-first1''' through '''translator-last<var>n</var>''', '''translator-first<var>n</var>''' where ''n'' is any consecutive number for an unlimited number of translators (each '''translator-first<var>n</var>''' requires a corresponding '''translator-last<var>n</var>'''). Aliases: '''translator1-last''', '''translator1-first''' through '''translator<var>n</var>-last''', '''translator<var>n</var>-first''', or '''translator1''' through '''translator<var>n</var>'''.
** '''translator-link''': Title of existing Wikipedia article about the translator—not the translator's website; do not wikilink. Aliases: '''translator-link1''', '''translator1-link'''.
**OR: for multiple translators, use '''translator-link1''' through '''translator-link<var>n</var>'''. Aliases: '''translator1-link''' through '''translator<var>n</var>-link'''.
* <span id="csdoc_collaboration" ></span>'''collaboration''': Name of a group of authors or collaborators; requires '''author''', '''last''', or '''vauthors''' which list one or more primary authors; follows author name-list; appends 'et al.' to author name-list.{{#if: {{{others|}}}|
* <span id="csdoc_others" ></span>'''others''': To record other contributors to the work, including illustrators. For the parameter value, write ''Illustrated by John Smith''.}}
*Note: When using {{sfnote|lc=y}} or {{paren|lc=y}} styles with templates, do not use multiple names in one field or else the anchor will not match the inline link.
Anonymous user