Template:Citation Style documentation/editor: Difference between revisions

From Lojban
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
(One intermediate revision by one other 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), or the name of an editorial committee. 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'''.
:Display:
**OR: for multiple editors, use '''editor-link1''' through '''editor-link<var>n</var>''' (alias '''editor<var>n</var>-link''').
::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.
**'''name-list-style''': accepts a limited list of keywords as value; when set to <code>amp</code>, <code>ampersand</code>, or <code>&</code>, inserts an ampersand between the last two names in a name list; when set to <code>and</code>, inserts the conjunction 'and' between the last two names of a name list; when set to <code>vanc</code>displays name lists in [[Vancouver style]] when the lists use the <code>last</code>/<code>first</code> forms of name parameters.
::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."}}
*{{anchor|para_veditors}}'''veditors''': comma separated list of editor names in [[Vancouver style]]; enclose corporate or institutional names in [[Help:Citation_Style_1#Accept-this-as-written_markup|doubled parentheses]]. End with etal if appropriate:
*:{{para|veditors|Smythe JB, ((Megabux Corp.)), etal}}
** '''editor-link''n''''' and '''editor-mask''n''''' may be used for the individual names in {{para|veditors}}, as described above
*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."

Latest revision as of 16:14, 4 August 2021

  • 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), or the name of an editorial committee. 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-style: accepts a limited list of keywords as value; when set to amp, ampersand, or &, inserts an ampersand between the last two names in a name list; when set to and, inserts the conjunction 'and' between the last two names of a name list; when set to vancdisplays name lists in Vancouver style when the lists use the last/first forms of name parameters.
  • veditors: comma separated list of editor names in Vancouver style; enclose corporate or institutional names in doubled parentheses. End with etal if appropriate:
    |veditors=Smythe JB, ((Megabux Corp.)), etal
    • editor-linkn and editor-maskn may be used for the individual names in |veditors=, as described above
  • 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."