Template:Citation Style documentation/author: Difference between revisions

m
authors (plural) not an alias of last (singular); remove lua dependancies;
imported>Jonesey95
(Adding the word "translator" so that people who use the "find" feature in their browsers can locate it.)
imported>Trappist the monk
m (authors (plural) not an alias of last (singular); remove lua dependancies;)
Line 1:
* <span id="csdoc_author" />'''last''': Surname of author. Do not wikilink—use '''author-link''' instead. For corporate authors, simply use '''last''' to include the same format as the source. Aliases: '''last1''', '''author''', '''authors''', '''author1'''{{#if:{{{aliases|}}}|, {{{aliases}}}}}.
** '''first''': Given or first names of author, including title(s); for example: ''Firstname Middlename'' or ''Firstname M.'' or ''Dr. Firstname M., Sr.'' Do not wikilink—use '''author-link''' instead. Aliases: '''first1'''. Requires '''last'''; first name will not display if '''last''' is empty.
{{#if: {{{lua|}}}|
** OR: for multiple authors, use '''last1''', '''first1''' through '''last<var>n</var>''', '''first<var>n</var>''' where ''n'' is any consecutive number for an unlimited number of authors (each '''first<var>n</var>''' requires a corresponding '''last<var>n</var>'''). See the [[#csdoc_display|display]] parameters to change how many authors are displayed. Aliases: '''author1''' through '''author<var>n</var>'''.
|
** OR: for multiple authors, use '''last1''', '''first1''' through '''last9''', '''first9''' for up to nine authors. By default, if nine authors are defined, only eight will show and "et al." will show in place of the last author. See the [[#csdoc_display|display]] parameters to change how many authors are displayed. Aliases: '''author1''' through '''author9'''.}}
:* '''author-link''': Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: '''authorlink1''', '''authorlink''', '''author1-link''', '''author1link'''.
{{#if: {{{lua|}}}|
:*OR: for multiple authors, use '''author-link1''' through '''author-link<var>n</var>'''. Aliases: '''author1link''' through '''author<var>n</var>link'''.
|
:*OR: for multiple authors, use '''author-link1''' through '''author-link9'''. Aliases: '''author1link''' through '''author9link'''.}}
:*'''name-list-format''': displays authors and editors in [[Vancouver style]] when set to <code>vanc</code> and when the list uses <code>last</code>/<code>first</code> parameters for the name list(s){{#if: {{{coauthors|}}}|
* {{xtd|'''coauthors'''}}: (deprecated) <s>Names of coauthors. Requires '''author''', '''authors''', or '''last''n'''''</s> Include coauthors in '''author''' or '''authors''' or use separate '''author''n''''' or '''last''n'''''/'''first''n''''' to list coauthors.}}{{#if: {{{others|}}}|
* <span id="csdoc_others" />'''others''': To record other contributors to the work, including illustrators and translators. For the parameter value, write ''Illustrated by John Smith'' or ''Translated by John Smith''.}}
*'''authors''': Free-form list of author names; not an alias of '''last'''
: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.