Template:Citation Style documentation/author: Difference between revisions

From Sarkarverse
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
* <span id="csdoc_author" />'''last''': Surname of author. Do not wikilink—use '''authorlink''' instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use '''last''' to include the same format as the source. Aliases: '''last1''', '''author''', '''authors''', '''author1'''{{#if:{{{aliases|}}}|, {{{aliases}}}}}.
* <span id="csdoc_author" />'''last''': Surname of author. Do not wikilink—use '''authorlink''' instead. Where the surname is usually written first—as in Chinese—or 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 '''authorlink''' instead. Aliases: '''first1'''.
** '''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 '''authorlink''' instead. Aliases: '''first1'''. Requires '''last'''; first name will not display if '''last''' is empty.  
{{#if: {{{lua|}}}|
{{#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. 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 '''author<var>n</var>'''.
** 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, 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 '''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, 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'''.}}
** 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'''.}}
Line 10: Line 10:
|
|
:*OR: for multiple authors, use '''authorlink1''' through '''authorlink9'''. Aliases: '''author1-link''' through '''author9-link'''.}}{{#if: {{{coauthors|}}}|
:*OR: for multiple authors, use '''authorlink1''' through '''authorlink9'''. Aliases: '''author1-link''' through '''author9-link'''.}}{{#if: {{{coauthors|}}}|
* {{xtd|'''coauthors'''}}: (deprecated) <s>Names of coauthors. Requires '''author''', '''authors''', or '''last''n'''''</s> Include coauthors in '''authors''' or use separate '''author''n''''' or '''last''n'''''/'''first''n''''' to list coauthors.}}{{#if: {{{others|}}}|
* {{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|}}}|
* '''others''': To record other contributors to the work, such as ''Illustrated by John Smith'' or ''Translated by John Smith''.}}
* <span id="csdoc_others" />'''others''': To record other contributors to the work, such as ''Illustrated by John Smith'' or ''Translated by John Smith''.}}
: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.
: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.

Latest revision as of 08:39, 17 March 2014

  • last: Surname of author. Do not wikilink—use authorlink instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use last to include the same format as the source. Aliases: last1, author, authors, author1.
    • 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 authorlink instead. Aliases: first1. Requires last; first name will not display if last is empty.
    • 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 display parameters to change. Aliases: author1 through author9.
  • authorlink: Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: authorlink1, author-link, author1-link, author1link.
  • OR: for multiple authors, use authorlink1 through authorlink9. Aliases: author1-link through author9-link.
When using shortened footnotes or parenthetical referencing styles with templates, do not use multiple names in one field or else the anchor will not match the inline link.