Difference between revisions of "Template:Citation Style documentation/author"
From Timelines
(Adding translator parameters. I think I got it right.) |
(fix inconsistencies in list markup) |
||
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>'''. For an individual author plus an institutional author, you can use {{para|first1|...}}{{para|last1|...}}{{para|author2|...}}. | ** 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>'''. 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: '''author-link1''', '''authorlink''', '''authorlink1''', '''author1-link''', '''author1link'''. | |
− | + | **OR: for multiple authors, use '''author-link1''' through '''author-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'''. | |
− | + | **'''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) | |
*'''vauthors''': comma separated list of author names in [[Vancouver style]]; enclose corporate or institutional author names in doubled parentheses: | *'''vauthors''': comma separated list of author names in [[Vancouver style]]; enclose corporate or institutional author names in doubled parentheses: | ||
*:{{para|vauthors|Smythe JB, ((Megabux Corporation))}} | *:{{para|vauthors|Smythe JB, ((Megabux Corporation))}} | ||
− | + | ** '''author-link''' and '''author-mask''' may be used for the individual names in {{para|vauthors}} as described above | |
*'''authors''': Free-form list of author names; not an alias of '''last'''{{#if: {{{coauthors|}}}| | *'''authors''': Free-form list of author names; not an alias of '''last'''{{#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.}} | * {{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.}} | ||
Line 13: | Line 13: | ||
**'''translator-first''': Given or first names of translator. Do not wikilink—use '''translator-link''' instead. Aliases: '''translator-first''', '''translator1-first''', '''translator-first1'''. | **'''translator-first''': Given or first names of translator. Do not wikilink—use '''translator-link''' instead. Aliases: '''translator-first''', '''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>'''). Aliases: '''translator1-last''', '''translator1-first''' through '''translator<var>n</var>-last''', '''translator<var>n</var>-first''', or '''translator1''' through '''translator<var>n</var>'''. | ** 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>'''). 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 authors, use '''translator-link1''' through '''translator-link<var>n</var>'''. Aliases: '''translator1-link''' through '''translator<var>n</var>-link'''.{{#if: {{{others|}}}| | |
− | {{#if: {{{others|}}}| | ||
* <span id="csdoc_others" />'''others''': To record other contributors to the work, including illustrators and translators. For the parameter value, write ''Illustrated by John Smith'' or ''Translated by John Smith''.}} | * <span id="csdoc_others" />'''others''': To record other contributors to the work, including illustrators and translators. For the parameter value, write ''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 13:53, 26 September 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, 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. For an individual author plus an institutional author, you can use
|first1=...
|last1=...
|author2=...
. - 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: authorlink1 through authorlinkn, or author1-link through authorn-link, or author1link through authornlink.
- name-list-format: displays authors and editors in Vancouver style when set to
vanc
and when the list useslast
/first
parameters for the name list(s)
- vauthors: comma separated list of author names in Vancouver style; enclose corporate or institutional author names in doubled parentheses:
|vauthors=Smythe JB, ((Megabux Corporation))
- author-link and author-mask may be used for the individual names in
|vauthors=
as described above
- authors: Free-form list of author names; not an alias of last
- <span id="csdoc_translator" />translator-last: Surname of translator. Do not wikilink—use translator-link instead. Aliases: translator1, translator1-last, translator-last1.
- translator-first: Given or first names of translator. Do not wikilink—use translator-link instead. Aliases: translator-first, translator1-first, translator-first1.
- OR: for multiple translators, use translator-last1, translator-first1 through translator-lastn, translator-firstn where n is any consecutive number for an unlimited number of translators (each translator-firstn requires a corresponding translator-lastn). Aliases: translator1-last, translator1-first through translatorn-last, translatorn-first, or translator1 through translatorn.
- 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 authors, use translator-link1 through translator-linkn. Aliases: translator1-link through translatorn-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.