Difference between revisions of "Template:DNBfirst"
Jump to navigation
Jump to search
imported>Charles Matthews m (fmt) |
imported>PBS (pass parameters to {{DNB Cite}}) |
||
| Line 1: | Line 1: | ||
| − | The first edition text is available as the | + | The first edition of this text is available as an article on Wikisource: <includeonly>{{DNB Cite |
| − | <noinclude> | + | <!--deal with the two parameters that may not have a lead argument--> |
| + | <!-- if comment parameter is set use it; | ||
| + | or if title set then set comment to arg1 if available; | ||
| + | or if title not set then set comment to arg2 is available. | ||
| + | --> | ||
| + | | comment = {{{comment| {{#if: {{{title|}}} | {{{1|}}} | {{{2|}}} }} }}} | ||
| + | <!--if title parameter is set use it; | ||
| + | if not set then set title to arg1 if available | ||
| + | --> | ||
| + | | title = {{{title|{{{1|}}} }}} | ||
| + | <!--Deal with the standard parameters--> | ||
| + | | last = {{{last|}}} | ||
| + | | first = {{{first|}}} | ||
| + | | authorlink = {{{authorlink|}}} | ||
| + | | accessdate = {{{accessdate|}}} | ||
| + | | volume = {{{volume|}}} | ||
| + | | pages = {{{pages|}}} | ||
| + | | quote = {{{quote|}}} | ||
| + | }}</includeonly><noinclude> | ||
| + | {{documentation}} | ||
[[Category:Missing encyclopedic articles (Dictionary of National Biography)]] | [[Category:Missing encyclopedic articles (Dictionary of National Biography)]] | ||
</noinclude> | </noinclude> | ||
Revision as of 02:42, 30 July 2010
The first edition of this text is available as an article on Wikisource:
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
- {{Cite ODNB}} — would usually be placed just before this template and contain details of an Oxford Dictionary of National Biography reference
- {{Cite DNB}} — can be used if facts from a DNB article are used in a Wikipedia article.
| The above documentation is transcluded from Template:DNBfirst/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |