Template:Citation Style documentation/editor: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
imported>Trappist the monk
m (name-list-format replaces author-format and editor-format;)
imported>Trappist the monk
(editors (plural) not an alias of editor-last (singular); removed lua dependencies;)
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>'''.|.}}
* <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''', '''editor<var>n</var>'''.
** '''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-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'''.
**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}}.
**OR: for multiple editors, use '''editor1-last''', '''editor1-first''' through '''editor<var>n</var>-last''', '''editor<var>n</var>-first'''.
:* '''editor-link''': Title of existing Wikipedia article about the editor—not the editor's website; do not wikilink. Aliases: '''editor1-link'''.
:* '''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 {{#if: {{{lua|}}}|'''editor1-link''' through '''editor<var>n</var>-link'''|'''editor1-link''' through '''editor4-link'''}}.
:*OR: for multiple editors, use '''editor-link1''' through '''editor-link<var>n</var>'''.
:*'''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)
:*'''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)
*'''editors''': Free-form list of editor names; 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.
::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."{{#if: {{{lua|}}}|{{;}} exactly four editors will show three editors followed by "et al., eds." <!-- ERROR MESSAGE IS HIDDEN BY DEFAULT --> <!-- along with an error message -->unless '''display-editors''' is used.|{{;}} more than three editors will be followed by "et al., eds."}}
::If no authors: Editors appear before the included work; a single editor is followed by "ed."; multiple editors are followed by "eds."; exactly four editors will show three editors followed by "et al., eds." <!-- ERROR MESSAGE IS HIDDEN BY DEFAULT --> <!-- along with an error message -->unless '''display-editors''' is used.

Revision as of 11:09, 18 April 2015

  • 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, editorn.
    • 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.
    • OR: for multiple editors, use editor1-last, editor1-first through editorn-last, editorn-first.
  • 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-link1 through editor-linkn.
  • 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)
  • editors: Free-form list of editor names; not an alias of editor-last
Display:
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."; exactly four editors will show three editors followed by "et al., eds." unless display-editors is used.