Difference between revisions of "Template:DNBfirst/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>PBS
(description for my change)
Line 7: Line 7:
  
 
Common:
 
Common:
*<code><nowiki>{{</nowiki>DNBfirst|last=|first=|wstitle=|volume=|page|pages|display}}</code>
+
*<code><nowiki>{{</nowiki>DNBfirst|last=|first=|wstitle=|volume=|pagee|pagese|ref=|mode=|display=}}</code>
  
;Parameter description
+
'''Parameter description:'''
 
* '''wstitle''' or '''title'''. Required.
 
* '''wstitle''' or '''title'''. Required.
 
** '''wstitle''': DNB article name on Wikisource or
 
** '''wstitle''': DNB article name on Wikisource or
Line 17: Line 17:
 
* '''volume''': Volume in which the entry appears. Used to generate the year and editor information.
 
* '''volume''': Volume in which the entry appears. Used to generate the year and editor information.
 
* '''page''' or '''pages''': First page and optional last page: e.g. 5–7.
 
* '''page''' or '''pages''': First page and optional last page: e.g. 5–7.
 +
* '''ref''': defaults to ''none''
 +
* '''mode''': defaults to [[WP:CS1|cs1]] ({{tl|cite book}} style), but can be set to cs2 ({{tl|citation}} style) — effects element separator etc.
 +
''Two none standard parameters:''
 
*'''display'''=''text'' — It will display the ''text'' on the wikipedia page masking the content of the ''wstitle='' parameter.
 
*'''display'''=''text'' — It will display the ''text'' on the wikipedia page masking the content of the ''wstitle='' parameter.
 
* '''short'''=''x'' — to reduce what is displayed.
 
* '''short'''=''x'' — to reduce what is displayed.

Revision as of 12:19, 21 June 2020

Usage

Minimum:

  • {{DNBfirst|wstitle=}}

Common:

  • {{DNBfirst|last=|first=|wstitle=|volume=|pagee|pagese|ref=|mode=|display=}}

Parameter description:

  • wstitle or title. Required.
    • wstitle: DNB article name on Wikisource or
    • title: DNB article name (can be coupled with url=)
  • last: Surname of author.
  • first: Firstname(s) of author.
  • volume: Volume in which the entry appears. Used to generate the year and editor information.
  • page or pages: First page and optional last page: e.g. 5–7.
  • ref: defaults to none
  • mode: defaults to cs1 ({{cite book}} style), but can be set to cs2 ({{citation}} style) — effects element separator etc.

Two none standard parameters:

  • display=text — It will display the text on the wikipedia page masking the content of the wstitle= parameter.
  • short=x — to reduce what is displayed.

For a full list of parameters see Template:DNB Cite/doc

See also