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

From Wikispooks
Jump to navigation Jump to search
m (1 revision: refesh WP citation templates)
 
m (1 revision imported)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
* <span id="csdoc_editors" />'''editor-last''': Surname of editor. Do not wikilink—use '''editor-link''' instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use '''editor-last''' to include the same format as the source. Aliases: '''editor1-last''', '''editor''', '''editors'''{{#if: {{{lua|}}}|, '''editor<var>n</var>'''.|.}}
+
* <b id="csdoc_editors">editor-last</b>: Surname of editor. Do not wikilink—use '''editor-link''' instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use '''editor-last''' to include the same format as the source. Aliases: '''editor-last1''', '''editor1-last''', '''editor-surname''', '''editor-surname1''', '''editor1-surname''', '''editor''', '''editor1'''.
** '''editor-first''': Given or first names of editor, including title(s); example: ''Firstname Middlename'' or ''Firstname M.'' or ''Dr. Firstname M., Sr.'' Do not wikilink—use '''editor-link''' instead.  Aliases: '''editor1-first'''.
+
** '''editor''': this parameter is used to hold the complete name of a single editor (first and last). This parameter should never hold the names of more than one editor.
**OR: for multiple editors, use '''editor1-last''', '''editor1-first''' through {{#if: {{{lua|}}}|'''editor<var>n</var>-last''', '''editor<var>n</var>-first'''|'''editor4-last''', '''editor4-first''' for up to four editors}}.
+
** '''editor-first''': Given or first names of editor, including title(s); example: ''Firstname Middlename'' or ''Firstname M.'' or ''Dr. Firstname M., Sr.'' Do not wikilink—use '''editor-link''' instead.  Aliases: '''editor-first1''', '''editor1-first''', '''editor-given''', '''editor-given1''', '''editor1-given'''.
:* '''editor-link''': Title of existing Wikipedia article about the editor—not the editor's website; do not wikilink. Aliases: '''editor1-link'''.
+
**OR: for multiple editors, use '''editor-last1''', '''editor-first1'''  through '''editor-last<var>n</var>''', '''editor-first<var>n</var>''' (Aliases: '''editor<var>n</var>-last''', '''editor-surname<var>n</var>''' or '''editor<var>n</var>-surname'''; '''editor<var>n</var>-first''', '''editor-given<var>n</var>''' or '''editor<var>n</var>-given'''; '''editor<var>n</var>'''). For an individual editor plus an institutional editor, you can use {{para|editor-first1|...}}{{para|editor-last1|...}}{{para|editor2|...}}.
:*OR: for multiple editors, use {{#if: {{{lua|}}}|'''editor1-link''' through '''editor<var>n</var>-link'''|'''editor1-link''' through '''editor4-link'''}}.
+
:* '''editor-link''': Title of existing Wikipedia article about the editor—not the editor's website; do not wikilink. Aliases: '''editor-link1'''.
 +
:*OR: for multiple editors, use '''editor-link1''' through '''editor-link<var>n</var>''' (alias '''editor<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)
 +
*'''veditors''': comma separated list of editor names in [[Vancouver style]]; enclose corporate or institutional names in doubled parentheses:
 +
*:{{para|veditors|Smythe JB, ((Megabux Corporation))}}
 +
:* '''editor-link''n''''' and '''editor-mask''n''''' may be used for the individual names in {{para|veditors}}, as described above
 +
*'''editors''': Free-form list of editor names;  use of this parameter is discouraged; not an alias of '''editor-last'''
 
:Display:
 
:Display:
::If authors: Authors are first, followed by {{#if: {{{lua|}}}|the included work, then "In" and the editors|the editors and the included work}}, then the main work.
+
::Use '''display-editors''' to control the length of the displayed editor name list and to specify when "et al." is included.
::If no authors: Editors appear before the included work; a single editor is followed by "ed."; multiple editors are followed by "eds."{{#if: {{{lua|}}}|{{;}} exactly four editors will show three editors followed by "et al., eds."|{{;}} more than three editors will be followed by "et al., eds."}}
+
::If authors: Authors are first, followed by the included work, then "In" and the editors, then the main work.
 +
::If no authors: Editors appear before the included work; a single editor is followed by "ed."; multiple editors are followed by "eds."

Revision as of 13:45, 10 June 2017

  • editor-last: Surname of editor. Do not wikilink—use editor-link instead. Where the surname is usually written first—as in Chinese—or for corporate authors, simply use editor-last to include the same format as the source. Aliases: editor-last1, editor1-last, editor-surname, editor-surname1, editor1-surname, editor, editor1.
    • editor: this parameter is used to hold the complete name of a single editor (first and last). This parameter should never hold the names of more than one editor.
    • editor-first: Given or first names of editor, including title(s); example: Firstname Middlename or Firstname M. or Dr. Firstname M., Sr. Do not wikilink—use editor-link instead. Aliases: editor-first1, editor1-first, editor-given, editor-given1, editor1-given.
    • OR: for multiple editors, use editor-last1, editor-first1 through editor-lastn, editor-firstn (Aliases: editorn-last, editor-surnamen or editorn-surname; editorn-first, editor-givenn or editorn-given; editorn). For an individual editor plus an institutional editor, you can use |editor-first1=...|editor-last1=...|editor2=....
  • editor-link: Title of existing Wikipedia article about the editor—not the editor's website; do not wikilink. Aliases: editor-link1.
  • OR: for multiple editors, use editor-link1 through editor-linkn (alias editorn-link).
  • 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)
  • veditors: comma separated list of editor names in Vancouver style; enclose corporate or institutional names in doubled parentheses:
    |veditors=Smythe JB, ((Megabux Corporation))
  • editor-linkn and editor-maskn may be used for the individual names in |veditors=, as described above
  • editors: Free-form list of editor names; use of this parameter is discouraged; not an alias of editor-last
Display:
Use display-editors to control the length of the displayed editor name list and to specify when "et al." is included.
If authors: Authors are first, followed by the included work, then "In" and the editors, then the main work.
If no authors: Editors appear before the included work; a single editor is followed by "ed."; multiple editors are followed by "eds."