Template:Citation Style documentation/author: Difference between revisions

From Climate Change AI Wiki
Content added Content deleted
imported>Kanguole
(document aliases)
imported>Jdaloner
(Added alias and switched order 2 existing aliases were listed in. (Easier to follow as "[default]1, [alias], [alias]1", which is the same way aliases are listed for 'last' and 'first'.))
Line 2: Line 2:
** '''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.
** '''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>'''). 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>'''.
** 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: '''surname1''', '''given1''' through '''surname<var>n</var>''', '''given<var>n</var>''', or '''author1''' through '''author<var>n</var>'''.
:* '''author-link''': Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: '''authorlink1''', '''authorlink''', '''author1-link''', '''author1link'''.
:* '''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'''.
:*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-link<var>n</var>'''. Aliases: '''author1link''' through '''author<var>n</var>link'''.
:*'''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|}}}|
:*'''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|}}}|

Revision as of 00:09, 23 May 2015

  • 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, surname, surname1, author, 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, given, given1. Requires last; first name will not display if last is empty.
    • OR: for multiple authors, use last1, first1 through lastn, firstn where n is any consecutive number for an unlimited number of authors (each firstn requires a corresponding lastn). See the display parameters to change how many authors are displayed. Aliases: surname1, given1 through surnamen, givenn, or author1 through authorn.
  • 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.
  • OR: for multiple authors, use author-link1 through author-linkn. Aliases: author1link through authornlink.
  • 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)
  • authors: Free-form list of author names; not an alias of last
When using Template:Sfnote or Template:Paren styles with templates, do not use multiple names in one field or else the anchor will not match the inline link.