Template:Citation Style documentation/author: Difference between revisions

m
93 revisions imported
imported>Jonesey95
(Updating documentation per July 2014 RFC)
m (93 revisions imported)
 
(41 intermediate revisions by 15 users not shown)
Line 1:
* <spanb id="csdoc_author" >last</b>'''last''': Surname of a single author. Do not wikilink—use '''author-link''' instead. For corporate authors, simplyor authors for whom only one name is listed by the source, use '''last''' toor includeone theof sameits formataliases as(e.g. the source{{para|author|Bono}}). Aliases: '''last1surname''', '''author''', '''authorslast1''', '''surname1''', '''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. Do not wikilink—use '''author-link''' instead.
** '''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: '''given''', '''first1''', '''given1'''. 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>'''). By default, ifbut ninenot authorsthe areother defined,way then only eight will show and "et al." will show in place of the last authoraround). {{Crossref|See the [[#csdoc_titlecsdoc_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: '''authorlink1author-link1''', '''authorlink''', '''authorlink1''', '''author1-link''', '''author1link'''.
|
:**OR: for multiple authors, use '''authorlink1author-link1''' through '''authorlinkauthor-link<var>n</var>'''. Aliases: '''authorlink1''' through '''authorlink<var>n</var>''', or '''author1-link''' through '''author<var>n</var>-link''', or '''author1link''' through '''author<var>n</var>link'''.
** OR: for multiple authors, use '''last1''', '''first1''' through '''last9''', '''first9''' for up to nine authors. By default, if nine authors are defined, then only eight will show and "et al." will show in place of the last author. See the [[#csdoc_title|display]] parameters to change. Aliases: '''author1''' through '''author9'''.}}
**'''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).
:* '''author-link''': Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: '''authorlink1''', '''authorlink''', '''author1-link''', '''author1link'''.
*'''vauthors''': comma-separated list of author names in [[Vancouver style]]; enclose corporate or institutional author names in doubled parentheses:
{{#if: {{{lua|}}}|
*:{{para|vauthors|Smythe JB, ((Megabux Corp.))}}
:*OR: for multiple authors, use '''authorlink1''' through '''authorlink<var>n</var>'''. Aliases: '''author1-link''' through '''author<var>n</var>-link'''.
** '''author-link''' and '''author-mask''' may be used for the individual names in {{para|vauthors}} as described above{{#if:{{{limited_param_list|}}}||
|
*'''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: {{{contributor|}}}|
:*OR: for multiple authors, use '''author-link1''' through '''author-link9'''. Aliases: '''author1link''' through '''author9link'''.}}{{#if: {{{coauthors|}}}|
* '''contributor-last''': (book cites only) surname of the author of '''contribution''' (which is required). Aliases: '''contributor-surname''', '''contributor1''', '''contributor1-last''', '''contributor-last1'''.
* {{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|}}}|
**'''contributor-first''': Given or first names of contributor. Do not wikilink—use '''contributor-link''' instead. Aliases: '''contributor-given''', '''contributor1-first''', '''contributor-first1'''.
* <span id="csdoc_others" />'''others''': To record other contributors to the work, such as ''Illustrated by John Smith'' or ''Translated by John Smith''.}}
** 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>''', but not the other way around). Aliases: '''contributor1-last''', '''contributor1-first''' through '''contributor<var>n</var>-last''', '''contributor<var>n</var>-first''', or '''contributor1''' through '''contributor<var>n</var>'''.
: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.
** '''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 authorscontributors, use '''authorcontributor-link1''' through '''authorcontributor-link9link<var>n</var>'''. Aliases: '''author1linkcontributor1-link''' through '''author9linkcontributor<var>n</var>-link'''.}}{{#if: {{{coauthorslimited_param_list|}}}||
* <b id="csdoc_translator">translator-last</b>: Surname of translator. Do not wikilink—use '''translator-link''' instead. Aliases: '''translator-surname''', '''translator1''', '''translator1-last''', '''translator-last1'''.
**'''translator-first''': Given or first names of translator. Do not wikilink—use '''translator-link''' instead. Aliases: '''translator-given''', '''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>''', but not the other way around). 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'''.}}
* <b id="csdoc_collaboration">collaboration</b>: Name of a group of authors or collaborators; requires '''author''', '''last''', or '''vauthors''' listing one or more primary authors; follows author name-list; appends "et al." to author name-list.{{#if: {{{others|}}}|
* <spanb id="csdoc_others" >others</b>'''others''': To record other contributors to the work, suchincluding asillustrators. ''IllustratedFor bythe Johnparameter Smith''value, orwrite ''TranslatedIllustrated 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.