Template:Citation Style documentation/display

From Black Rock Desert Wiki
Jump to navigation Jump to search
  • 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 bibliographies or bibliography styles where multiple works by a single author are listed sequentially such as {{#ifeq:{{{lc}}}||shortened footnotes|Shortened footnotes}}. Do not use in a list generated by {{{{#if: |subst:}}reflist{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}}, {{#switch:s
|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.

  • author-name-separator: Controls the separator between last and first names; defaults to a comma and space (, ); {{#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 &#32;{{#if: |.| do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.}}
  • author-separator: Controls the separator between authors; defaults to a semicolon and space (; ); {{#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 &#32;{{#if: |.| do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.}}
  • display-authors: {{#if: |Controls the number of author names that are displayed when a citation is published. To change the displayed number of authors, set display-authors to the desired number. For example, |{{#if:display-authors|display-authors=}}2 will display only the first two authors in a citation. By default, all authors are displayed except when there are nine authors, then the author list in the citation is truncated to eight authors, followed by "et al." This exception mimics the older version of the template for compatibility. If a citation contains nine author names and one wishes all nine author names to display, "et al." may be suppressed by setting |{{#if:display-authors|display-authors=}}9. Aliases: displayauthors.|Controls the number of author names that are displayed when a citation is published. To control the displayed number of author names, set display-authors to the desired number. For example, |{{#if:display-authors|display-authors=}}2 will display only the first two authors in a citation. By default, the only the first eight cited authors are displayed; subsequent authors beyond eight are represented in the published citation by "et al." If a citation contains nine author names and one wishes all nine author names to display, "et al." may be suppressed by setting |{{#if:display-authors|display-authors=}}9. Aliases: displayauthors.}}

{{#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.}}
  • lastauthoramp: Switches the separator between the last two names of the author list to space ampersand space ( & ) when set to any value. Example: |{{#if:lastauthoramp|lastauthoramp=}}yes
  • 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 &#32;{{#if: |.|{{#if: |.| do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.}} }}