Difference between revisions of "Template:DNBfirst"

From blackwiki
Jump to navigation Jump to search
imported>PBS
(added ref= and mode=)
imported>Trappist the monk
(sync from sandbox;)
 
Line 1: Line 1:
{{#if:{{{wstitle|}}}|The first edition of this text is available at Wikisource:|The first edition of this text:}} {{DNB Cite
+
{{#if:{{{wstitle|}}}|The first edition of this text is available at Wikisource:|The first edition of this text:}} {{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite DNB
| comment = {{{comment|}}}
+
  |_exclude=_debug
| wstitle = {{{wstitle|}}}
 
| short = {{{short|}}}
 
|{{#if:{{{display|}}} |display |HIDE_PARAMETERa}}={{{display|}}}
 
<!--Deal with the standard parameters-->
 
| title = {{{title|}}}
 
| last = {{{last|}}}
 
| first = {{{first|}}}
 
| author = {{{author|}}}
 
| authorlink = {{{authorlink|}}}
 
| accessdate = {{{accessdate|}}}
 
| url = {{{url|}}}
 
| volume = {{{volume|}}}
 
| pages = {{{pages|}}}
 
| page = {{{page|}}}
 
| quote = {{{quote|}}}
 
| ref= {{{ref|none}}}
 
| mode={{{mode|}}}
 
| 1={{{1|}}}
 
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:48, 15 October 2020

The first edition of this text:  Dictionary of National Biography. London: Smith, Elder & Co. 1885–1900. Missing or empty |title= (help)

Template documentation[view] [edit] [history] [purge]

Usage

Minimum:

  • {{DNBfirst|wstitle=}}

Common:

  • {{DNBfirst|last=|first=|wstitle=|volume=|page=|pages=|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