Template:Citation Style documentation/display
Jump to navigation
Jump to search
|c|close =
|s|single
|o|open
|p|pair = <references{{#if:| {{{params}}}}}
}}{{#switch:s
|c|close =
|s|single = />
|o|open = >
|p|pair = {{#ifeq:references|!--||>}}...
}}{{#switch:s
|s|single
|o|open =
|c|close
|p|pair = {{#ifeq:references|!--|-->|</references>}}
}}
or similar as there is no control of the order in which references are displayed.
{{#if: |
- 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,
|{{#if:display-editors|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|{{#if:display-editors|display-editors=}}4
. Aliases: displayeditors.}} - postscript: Controls the closing punctuation for a citation; defaults to {{#if: |none|a period (
.
); {{#if: |for no terminating punctuation, specify|{{#if:postscript|postscript=}}none
– leaving|{{#if:postscript|postscript=}}
empty is the same as omitting it, but is ambiguous|if the parameter is present, but blank, no terminating punctuation will be used}}}}. Ignored if quote is defined. - separator: Controls the punctuation used to separate lists of authors, editors, etc. Defaults to a {{#if: |comma and space (
,
)|period (.
)}}; {{#if: |if the parameter is present, but blank, separator punctuation is set to the default|if the parameter is present, but blank, no separator punctuation will be used}}; a space must be encoded as 
{{#if: |.|{{#if: |.| do not use an asterisk (*
), colon (:
) or hash (#
) as they will be interpreted as wikimarkup.}} }}