Template:Citation Style documentation/author: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
imported>Jonesey95
(Updating documentation per July 2014 RFC)
imported>Jonesey95
(Removing outdated et al. language, fixing link to display-** section)
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'''. 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'''. 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 (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 '''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_title|display]] parameters to change how many authors are displayed. 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, only eight will show and "et al." will show in place of the last author. See the [[#csdoc_display|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'''.
:* '''author-link''': Title of existing Wikipedia article about the author—not the author's website; do not wikilink. Aliases: '''authorlink1''', '''authorlink''', '''author1-link''', '''author1link'''.
{{#if: {{{lua|}}}|
{{#if: {{{lua|}}}|

Revision as of 19:13, 4 December 2014

  • 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.
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.