Template:Citation Style documentation/display and Template:Citation Style documentation/whats new: Difference between pages

From Polyphasic Sleep Wiki
(Difference between pages)
updated
 
m 1 revision imported
 
Line 1: Line 1:
* <span id="csdoc_display"></span><b id="csdoc_mode">mode</b>: Sets element separator, default terminal punctuation, and certain capitalization according to the value provided.  For {{para|mode|cs1}}, element separator and terminal punctuation is a period (<code>.</code>); where appropriate, initial letters of certain words are capitalized ('Retrieved...').  For {{para|mode|cs2}}, element separator is a comma (<code>,</code>); terminal punctuation is omitted; where appropriate, initial letters of certain words are not capitalized ('retrieved...'). To override default terminal punctuation use '''postscript'''.
{|class="wikitable"
* <b id="csdoc_author-mask">author-mask</b>:
|+ What's new or changed recently
* <b id="csdoc_contributor-mask">contributor-mask</b>:
! Parameter !! Description !! Date
* <b id="csdoc_editor-mask">editor-mask</b>:
|-
* <b id="csdoc_interviewer-mask">interviewer-mask</b>:
| {{para|author-given}}
* <b id="csdoc_subject-mask">subject-mask</b>:
| added aliases (including enumerated forms) for {{para|author-first}}
* <b id="csdoc_translator-mask">translator-mask</b>:
| October 2020
*: Replaces the name of the (first) author with [[dash#Em dash|em dashes]] or text. Set '''&lt;{{var|name}}>-mask''' to a numeric value ''n'' to set the dash ''n'' em spaces wide; set '''&lt;{{var|name}}>-mask''' to a text value to display the text without a trailing author separator; for example, "with". The numeric value 0 is a special case to be used in conjunction with '''&lt;{{var|name}}>-link'''&mdash;in this case, the value of '''&lt;{{var|name}}>-link''' will be used as (linked) text. In either case, you must still include the values for all names for metadata purposes. Primarily intended for use with bibliographies or bibliography styles where multiple works by a single author are listed sequentially such as {{sfnote|lc=y}}. Do not use in a list generated by {{tlx|reflist}}, {{tag|references|s}} or similar as there is no control of the order in which references are displayed. Mask parameters can take an enumerator in the name of the parameter (e.g. {{para|author{{var|n}}-mask}}) to apply the mask to a specific {{var|name}}.
|-
 
| {{para|author-surname}}
* <b id="csdoc_display-authors"><span id="csdoc_displayauthors"></span>display-authors</b>:
| added aliases (including enumerated forms) for {{para|author-last}}
* <b id="csdoc_display-contributors"><span id="csdoc_displaycontributors"></span>display-contributors</b>:
| October 2020
* <b id="csdoc_display-editors"><span id="csdoc_displayeditors"></span>display-editors</b>:
|-
* <b id="csdoc_display-interviewers"><span id="csdoc_displayinterviewers"></span>display-interviewers</b>:
| {{para|display-subjects}}
* <b id="csdoc_display-subjects"><span id="csdoc_displaysubjects"></span>display-subjects</b>:
| added alias for {{para|display-authors}} for usage with {{para|subject}}
* <b id="csdoc_display-translators"><span id="csdoc_displaytranslators"></span>display-translators</b>:
| October 2020
*: Controls the number of author or editor names that are displayed when a citation is published. To change the displayed number of names, set '''display-authors''' and/or '''display-editors''' to the desired number. For example, {{para|display-authors|2}} will display only the first two authors in a citation (and not affect the display of editors). Likewise, {{para|display-editors|2}} will display only the first two editors (and all authors). {{para|display-authors|0}} and {{para|display-editors|0}} are special cases suppressing the display of all authors or editors including the et al. By default, all authors and editors are displayed. {{para|display-authors|etal}} displays all authors in the list followed by et al. Aliases: '''{{xtd|displayauthors}}''' (deprecated).
|-
* <b id="csdoc_lastauthoramp">{{xtd|last-author-amp}}</b> (deprecated; use '''name-list-style'''): <s>Switches the separator between the last two names of the author list to space ampersand space (<code> & </code>) when set to <code>y</code>, <code>yes</code>, or <code>true</code>. Example: {{para|last-author-amp|yes}}</s>
| {{para|interviewer-given}}
* <b id="csdoc_postscript">postscript</b>: Controls the closing punctuation for a citation; defaults to {{#if: {{{cs2|}}}|none|a period (<code>.</code>); for no terminating punctuation, specify {{para|postscript|none}} – leaving {{para|postscript}} empty is the same as omitting it, but is ambiguous}}. Additional text or templates beyond the terminating punctuation may generate an error message. {{para|postscript}} is ignored if '''quote''' is defined.
| added aliases (including enumerated forms) for {{para|interviewer-first}}
| October 2020
|-
| {{para|interviewer-surname}}
| added aliases (including enumerated forms) for {{para|interviewer-last}}
| October 2020
|-
| {{para|orig-date}}
| added canonical form for alias {{para|orig-year}}
| October 2020
|-
| {{para|quote-page}}
| added single page specifier for {{para|quote}}
| October 2020
|-
| {{para|quote-pages}}
| added multiple pages specifier for {{para|quote}}
| October 2020
|-
| {{para|sbn}}
| added identifier parameter for [[Standard Book Number]]s
| April 2020
|-
| {{para|script-quote}}
| added non-Latin script text facility for {{para|quote}}
| October 2020
|-
| {{para|subject-mask}}
| added aliases (including enumerated forms) to {{para|author-mask}} for usage with {{para|subject}}
| October 2020
|-
| {{para|s2cid}}
| added identifier parameter for [[Semantic Scholar]] corpus ID
| April 2020
|-
| {{para|s2cid-access}}
| added access-icon parameter for {{para|s2cid}}
| April 2020
<!-- Note: LEFT TITLE TOKEN CHANGES UNDOCUMENTED HERE FOR NOW TO AVOID UNNECESSARY CHANGES OF CITATIONS TO TRANSITIONAL VALUES AS THERE WILL LIKELY BE ADDITIONAL CHANGES IN THE NEXT ROUND OF CITE UPDATES:
|-
| {{para|title}}
| added special token/changed semantics of <code>none/off</code> to control descriptive titles ({{tl|cite journal}} only)
| October 2020
-->
|-
| {{para|title-link}}
| added special tokens <code>none/doi/pmc</code> to override/disable auto-linking ({{tl|cite journal}} only)
| October 2020
|-
| {{para|trans-quote}}
| added translated text facility for {{para|quote}}
| October 2020
|-
| [[Help:Citation_Style_1#Accept-this-as-written_markup|accept-this-as-written-markup]]
| added for {{para|doi}}, {{para|eissn}}, {{para|isbn}}, {{para|issn}}, {{para|sbn}}
| October 2020
|}

Latest revision as of 19:42, 20 December 2020

What's new or changed recently
Parameter Description Date
|author-given= added aliases (including enumerated forms) for |author-first= October 2020
|author-surname= added aliases (including enumerated forms) for |author-last= October 2020
|display-subjects= added alias for |display-authors= for usage with |subject= October 2020
|interviewer-given= added aliases (including enumerated forms) for |interviewer-first= October 2020
|interviewer-surname= added aliases (including enumerated forms) for |interviewer-last= October 2020
|orig-date= added canonical form for alias |orig-year= October 2020
|quote-page= added single page specifier for |quote= October 2020
|quote-pages= added multiple pages specifier for |quote= October 2020
|sbn= added identifier parameter for Standard Book Numbers April 2020
|script-quote= added non-Latin script text facility for |quote= October 2020
|subject-mask= added aliases (including enumerated forms) to |author-mask= for usage with |subject= October 2020
|s2cid= added identifier parameter for Semantic Scholar corpus ID April 2020
|s2cid-access= added access-icon parameter for |s2cid= April 2020
|title-link= added special tokens none/doi/pmc to override/disable auto-linking ({{cite journal}} only) October 2020
|trans-quote= added translated text facility for |quote= October 2020
accept-this-as-written-markup added for |doi=, |eissn=, |isbn=, |issn=, |sbn= October 2020