Difference between revisions of "Template:DNBfirst/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(sort)
imported>PBS
 
(5 intermediate revisions by 2 users not shown)
Line 7: Line 7:
  
 
Common:
 
Common:
*<code><nowiki>{{</nowiki>DNBfirst|last=|first=|wstitle=|volume=|page}}</code>
+
*<code><nowiki>{{</nowiki>DNBfirst|last=|first=|wstitle=|volume=|page=|pages=|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.
 +
* '''short'''=''x'' — to reduce what is displayed.
  
 
For a full list of parameters see [[Template:DNB Cite/doc]]
 
For a full list of parameters see [[Template:DNB Cite/doc]]
Line 24: Line 29:
 
*{{tl|Cite DNB}} — can be used if facts from a DNB article are used in a Wikipedia article.
 
*{{tl|Cite DNB}} — can be used if facts from a DNB article are used in a Wikipedia article.
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
{{DEFAULTSORT:Dnbfirst}}
 
{{DEFAULTSORT:Dnbfirst}}
 
[[Category:Dictionary of National Biography templates]]
 
[[Category:Dictionary of National Biography templates]]
 
[[Category:Missing encyclopedic articles (Dictionary of National Biography)]]
 
[[Category:Missing encyclopedic articles (Dictionary of National Biography)]]
</includeonly>
+
}}</includeonly>

Latest revision as of 12:20, 21 June 2020

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