Template:Citation Style documentation/chapter and Template:Citation Style documentation/editor: Difference between pages

From Polyphasic Sleep Wiki
(Difference between pages)
m 1 revision imported
 
+anchor
 
Line 1: Line 1:
* '''{{#switch:{{{title_title}}}
* <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'''.
| booktitle = booktitle
** '''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.
| #default = chapter}}''': The chapter heading of the source. May be wikilinked or may use '''chapter-url''', but not both. {{#switch:{{BASEPAGENAME}}
** '''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'''.
|Cite journal
**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|...}}.
|Cite web
** '''editor-link''': title of existing Wikipedia article about the editor—not the editor's website; do not wikilink. Aliases: '''editor-link1'''.
|Cite news
**OR: for multiple editors, use '''editor-link1''' through '''editor-link<var>n</var>''' (alias '''editor<var>n</var>-link''').
|Cite press release
**'''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. Alias: '''{{xtd|name-list-format}}''' (deprecated)
|Cite conference
*{{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:
|Cite podcast = Not displayed even if set
*:{{para|veditors|Smythe JB, ((Megabux Corp.)), etal}}
|#default = Displays in quotes}}. If '''script-chapter''' is defined, use '''chapter''' to hold a [[WP:ROMAN|Romanization]] (if available) of the title in '''script-chapter'''
** '''editor-link''n''''' and '''editor-mask''n''''' may be used for the individual names in {{para|veditors}}, as described above
** '''script-chapter''': Chapter heading for languages that do not use a Latin-based script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc); follows [[WP:ROMAN|Romanization]] defined in '''chapter''' (if present). Must be prefixed with one of the [[Help:Citation_Style_1#{{pipe}}script-&lt;param>{{=}} language codes|supported language codes]] to help browsers properly display the script:
*'''{{xtd|editors}}''' (deprecated): <s>free-form list of editor names; use of this parameter is discouraged; not an alias of '''editor-last'''</s>
**:<code><nowiki>... |chapter=Tōkyō tawā |script-chapter=ja:東京タワー |trans-chapter=Tokyo Tower ...</nowiki></code>
*Display:
** '''trans-chapter''': English translation of the chapter heading, if the source cited is in a foreign language. Displays in square brackets after the '''{{#switch:{{{title_title}}}
*:Use '''display-editors''' to control the length of the displayed editor name list and to specify when "et al." is included.
| booktitle = booktitle
*:If authors: Authors are first, followed by the included work, then "In" and the editors, then the main work.
| #default = chapter}}''' field; if '''chapter-url''' is defined, then '''trans-chapter''' is included in the link. Use of the '''language''' parameter is recommended.
*:If no authors: Editors appear before the included work; a single editor is followed by "ed."; multiple editors are followed by "eds."
* '''contribution''': A separately-authored part of '''author'''{{'}}s book. May be wikilinked or may use '''contribution-url''', but not both. Values of <code>Afterword</code>, <code>Foreword</code>, <code>Introduction</code>, or <code>Preface</code> will display unquoted; any other value will display in quotation marks. The author of the contribution is given in '''contributor'''.

Revision as of 11:04, 23 October 2020

  • 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. Alias: name-list-format (deprecated)
  • 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
  • editors (deprecated): 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."