Template:Citation Style documentation/display: Difference between revisions
From All Skies Encyclopaedia
imported>Trappist the monk m (Remove lua dependencies;) |
imported>M777 (+ - arz temporarily, bots will move it to Wikidata later) |
||
Line 8: | Line 8: | ||
* <span id="csdoc_lastauthoramp" />'''last-author-amp''': Switches the separator between the last two names of the author list to space ampersand space (<code> & </code>) when set to any value. Example: {{para|last-author-amp|yes}} |
* <span id="csdoc_lastauthoramp" />'''last-author-amp''': Switches the separator between the last two names of the author list to space ampersand space (<code> & </code>) when set to any value. Example: {{para|last-author-amp|yes}} |
||
* <span id="csdoc_postscript" />'''postscript''': 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}}. Ignored if '''quote''' is defined. |
* <span id="csdoc_postscript" />'''postscript''': 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}}. Ignored if '''quote''' is defined. |
||
* <span id="csdoc_separator" />{{xtd|'''separator'''}}: (deprecated) <s>Controls the punctuation used to separate lists of authors, editors, etc. Defaults to a {{#if: {{{cs2|}}}|comma and space (<code>, </code>)|period (<code>.</code>)}}; if the parameter is present, but blank, separator punctuation is set to the default; a space must be encoded as <code>&#32;</code>.</s> Use '''mode'''. |
* <span id="csdoc_separator" />{{xtd|'''separator'''}}: (deprecated) <s>Controls the punctuation used to separate lists of authors, editors, etc. Defaults to a {{#if: {{{cs2|}}}|comma and space (<code>, </code>)|period (<code>.</code>)}}; if the parameter is present, but blank, separator punctuation is set to the default; a space must be encoded as <code>&#32;</code>.</s> Use '''mode'''.[[arz:قالب:Citation Style documentation/display]] |
Revision as of 16:25, 11 August 2015
- mode: Sets element separator, default terminal punctuation, and certain capitalization according to the value provided. For
|mode=cs1
, element separator is a semicolon (;
); terminal punctuation is a period (.
); where appropriate, initial letters of certain words are capitalized ('Retrieved...'). For|mode=cs2
, element separator is a comma (,
); terminal punctuation is omitted; where appropriate, initial letters of certain words are not capitalized ('retrieved...'). To override default terminal punctuation use postscript. - display-editors: Controls the number of editor names that are displayed when a citation is published. To change the displayed number of editors, set display-editors to the desired number. For example,
|display-editors=2
will display only the first two editors in a citation. By default, all editors are displayed except when there are four editors, then the editor list in the citation is truncated to three editors, followed by "et al." This exception mimics the older version of the template for compatibility. If a citation contains four editor names and one wishes all four editor names to display, "et al." may be suppressed by setting|display-editors=4
.|display-editors=etal
displays all editors in the list followed by et al. Aliases: displayeditors. - postscript: Controls the closing punctuation for a citation; defaults to a period (
.
); for no terminating punctuation, specify|postscript=none
– leaving|postscript=
empty is the same as omitting it, but is ambiguous. Ignored if quote is defined. - separator: (deprecated)
Controls the punctuation used to separate lists of authors, editors, etc. Defaults to a period (Use mode.arz:قالب:Citation Style documentation/display.
); if the parameter is present, but blank, separator punctuation is set to the default; a space must be encoded as 
.