Template:Citation Style documentation/author: Difference between revisions

discourage use of |authors=
imported>Trappist the monk
(add collaboration)
imported>Trappist the monk
(discourage use of |authors=)
Line 1:
* <span id="csdoc_author" />'''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, including title(s); for example: ''Firstname Middlename'' or ''Firstname M.'' or ''Dr. 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.
** 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>'''). {{Crossref|See the [[#csdoc_display|'''display''']] parameters to change how many authors are displayed.}} Aliases: '''surname1''', '''given1''' through '''surname<var>n</var>''', '''given<var>n</var>''', or '''author1''' through '''author<var>n</var>'''. For an individual author plus an institutional author, you can use {{para|first1|...}}{{para|last1|...}}{{para|author2|...}}.
** '''author-link''': Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: '''author-link1''', '''authorlink''', '''authorlink1''', '''author1-link''', '''author1link'''.
Line 8 ⟶ 9:
*:{{para|vauthors|Smythe JB, ((Megabux Corporation))}}
** '''author-link''' and '''author-mask''' may be used for the individual names in {{para|vauthors}} as described above
*'''authors''': Free-form list of author names; use of this parameter is discouraged because it does not contribute to a citation's metadata; not an alias of '''last'''{{#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: {{{contributor|}}}|
* '''contributor-last''': Surname of contributor. Do not wikilink—use '''contributor-link''' instead. For book cites only, requires '''contribution'''; used primarily to cite afterwordsafterword, forewordsforeword, introduction, or preface to '''author'''{{'s}} work. Aliases: '''contributor1''', '''contributor1-last''', '''contributor-last1'''.
**'''contributor-first''': Given or first names of contributor. Do not wikilink—use '''contributor-link''' instead. Aliases: '''contributor1-first''', '''contributor1-first1'''.
** OR: for multiple contributors, use '''contributor-last1''', '''contributor-first1''' through '''contributor-last<var>n</var>''', '''contributor-first<var>n</var>''' where ''n'' is any consecutive number for an unlimited number of contributors (each '''contributor-first<var>n</var>''' requires a corresponding '''contributor-last<var>n</var>'''). Aliases: '''contributor1-last''', '''contributor1-first''' through '''contributor<var>n</var>-last''', '''contributor<var>n</var>-first''', or '''contributor1''' through '''contributor<var>n</var>'''.