Difference between revisions of "Template:Citation Style documentation/author"

From Timelines
Jump to: navigation, search
(Fixing display-** link)
m (name-list-format replaces author-format and editor-format;)
Line 9: Line 9:
 
:*OR: for multiple authors, use '''authorlink1''' through '''authorlink<var>n</var>'''. Aliases: '''author1-link''' through '''author<var>n</var>-link'''.
 
:*OR: for multiple authors, use '''authorlink1''' through '''authorlink<var>n</var>'''. Aliases: '''author1-link''' through '''author<var>n</var>-link'''.
 
|
 
|
:*OR: for multiple authors, use '''author-link1''' through '''author-link9'''. Aliases: '''author1link''' through '''author9link'''.}}{{#if: {{{coauthors|}}}|
+
:*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|}}}|
 
* {{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, 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.

Revision as of 06:25, 14 February 2015

  • <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.
    • 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.
    • 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 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.
  • 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 vanc and when the list uses last/first parameters for the name list(s)
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.