Template:Citation Style documentation/display: Difference between revisions
From All Skies Encyclopaedia
imported>Trappist the monk m (Update separator to reflect Lua-based citation operation;) |
imported>Trappist the monk m (Update to reflect Lua-based citation operation;) |
||
Line 1: | Line 1: | ||
* '''author-mask''': Replaces the name of the first author with [[dash|em dashes]] or text. Set '''author-mask''' to a numeric value to set the dash |
* '''author-mask''': Replaces the name of the first author with [[dash|em dashes]] or text. Set '''author-mask''' to a numeric value ''n'' to set the dash ''n'' em spaces wide; set '''author-mask''' to a text value to display the text without a trailing author separator; for example, "with". You must still include the values for all authors for metadata purposes. Primarily intended for use with bibliography styles where multiple works by a single author are listed sequentially. 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. |
||
* '''author-name-separator''': Changes the separator between last and first names; defaults to a comma and space (, ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as   do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup. |
* '''author-name-separator''': Changes the separator between last and first names; defaults to a comma and space (, ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as   do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup. In Lua-based CS1 citations, when the parameter is present but blank, separator punctuation is set to the default. |
||
* '''author-separator''': Changes the separator between authors; defaults to a semicolon and space (; ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as   do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup. |
* '''author-separator''': Changes the separator between authors; defaults to a semicolon and space (; ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as   do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup. In Lua-based CS1 citations, when the parameter is present but blank, separator punctuation is set to the default. |
||
* ''' |
* '''displayauthors''': By default, the number of authors displayed is limited to 8; if 9 are provided, the ninth is displayed as "et al." This parameter allows display of fewer authors before the "et al."; for example, use {{para|displayauthors|2}} for only two authors. The "et al." may be suppressed altogether by setting {{para|displayauthors|9}}. For the Lua-based CS1 citations: The number of authors is not restricted. The Lua-based citation engine cannot know if editors created citations with exactly nine authors because there were only nine authors or, because old-style citations were limited to nine authors. When there are exactly nine authors, Lua-based citations mimic the old-style citations; suppress the automatic "et al." by setting {{para|displayauthors|9}}. |
||
* '''lastauthoramp''': When set to any value, changes the separator |
* '''lastauthoramp''': When set to any value, changes the separator between the last two names of the author list to space ampersand space ( & ). |
||
* '''postscript''': The closing punctuation for the citation; {{#if: {{{cs2|}}}| |
* '''postscript''': The closing punctuation for the citation; defaults to {{#if: {{{cs2|}}}|none|a period (.); if the parameter is present, but blank, no terminating punctuation will be used}}. Ignored if '''quote''' is defined. |
||
* '''separator''': The punctuation used to separate lists of authors, editors, etc. Defaults to a {{#if: {{{cs2|}}}|comma (,)|period (.)}}; if the parameter is present but blank, no separator punctuation will be used; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup. In Lua-based CS1 citations, when the parameter is present but blank, separator punctuation is set to |
* '''separator''': The punctuation used to separate lists of authors, editors, etc. Defaults to a {{#if: {{{cs2|}}}|comma (,)|period (.)}}; if the parameter is present but blank, no separator punctuation will be used; a space must be encoded as   do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup. In Lua-based CS1 citations, when the parameter is present but blank, separator punctuation is set to the default. |
Revision as of 12:26, 17 April 2013
- author-mask: Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value n to set the dash n em spaces wide; set author-mask to a text value to display the text without a trailing author separator; for example, "with". You must still include the values for all authors for metadata purposes. Primarily intended for use with bibliography styles where multiple works by a single author are listed sequentially. Do not use in a list generated by
{{reflist}}
,<references />
or similar as there is no control of the order in which references are displayed. - author-name-separator: Changes the separator between last and first names; defaults to a comma and space (, ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as   do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup. In Lua-based CS1 citations, when the parameter is present but blank, separator punctuation is set to the default.
- author-separator: Changes the separator between authors; defaults to a semicolon and space (; ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as   do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup. In Lua-based CS1 citations, when the parameter is present but blank, separator punctuation is set to the default.
- displayauthors: By default, the number of authors displayed is limited to 8; if 9 are provided, the ninth is displayed as "et al." This parameter allows display of fewer authors before the "et al."; for example, use
|displayauthors=2
for only two authors. The "et al." may be suppressed altogether by setting|displayauthors=9
. For the Lua-based CS1 citations: The number of authors is not restricted. The Lua-based citation engine cannot know if editors created citations with exactly nine authors because there were only nine authors or, because old-style citations were limited to nine authors. When there are exactly nine authors, Lua-based citations mimic the old-style citations; suppress the automatic "et al." by setting|displayauthors=9
. - lastauthoramp: When set to any value, changes the separator between the last two names of the author list to space ampersand space ( & ).
- postscript: The closing punctuation for the citation; defaults to a period (.); if the parameter is present, but blank, no terminating punctuation will be used. Ignored if quote is defined.
- separator: The punctuation used to separate lists of authors, editors, etc. Defaults to a period (.); if the parameter is present but blank, no separator punctuation will be used; a space must be encoded as   do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup. In Lua-based CS1 citations, when the parameter is present but blank, separator punctuation is set to the default.