Template:Cite DNB/doc: Difference between revisions
Jon Kolbert (talk | contribs) m →Using title and url: fix typo |
→Examples: added documentation for "section" parameter |
||
Line 49: | Line 49: | ||
{{cite DNB|wstitle=Sheldon, Gilbert|last=Hutton|first=William Holden|authorlink=William Holden Hutton|volume=52}} |
{{cite DNB|wstitle=Sheldon, Gilbert|last=Hutton|first=William Holden|authorlink=William Holden Hutton|volume=52}} |
||
====Using ''section''==== |
|||
Sometimes a biography article includes other members of a family who are notable but are not considered notable enough to have their own entry. For example the DNB article on [[Sir Richard Wynn, 2nd Baronet]] appears in the DNB article "Wynn, John" (1553–1626) under the section name of "{{SC|Sir Richard Wynn}}" (d. 1649). A section name can be given to access this article: |
|||
<div style="width:auto; overflow:scroll"> |
|||
<code><nowiki> |
|||
{{cite DNB|wstitle=Wynn, John |section=Wynn, Richard}} |
|||
</nowiki></code> |
|||
</div> |
|||
{{cite DNB|wstitle=Wynn, John |section=Wynn, Richard}} |
|||
====Using ''title'' and ''url''==== |
====Using ''title'' and ''url''==== |
||
Line 99: | Line 109: | ||
{{cite DNB|wstitle=Sheldon, Gilbert|last=Hutton|first=William Holden|authorlink=William Holden Hutton|volume=52|pages=24–26|quote=Sheldon was placed at the head of the English church at a very critical time}} Archbishop of Canterbury, 1663–1677. |
{{cite DNB|wstitle=Sheldon, Gilbert|last=Hutton|first=William Holden|authorlink=William Holden Hutton|volume=52|pages=24–26|quote=Sheldon was placed at the head of the English church at a very critical time}} Archbishop of Canterbury, 1663–1677. |
||
=== Hidden categories === |
=== Hidden categories === |
||
This template contains several hidden categories to aid with maintenance. These can be found under: |
This template contains several hidden categories to aid with maintenance. These can be found under: |
Revision as of 16:12, 22 September 2018
This is a documentation subpage for Template:Cite DNB. It may contain usage information, categories and other content that is not part of the original template page. |
Purpose
This template enables the citation of articles from the Wikisource project Dictionary of National Biography, 1885-1900 or Dictionary of National Biography, 1901 supplement in the manner of non-link references and notes.
To cite the contemporary Oxford Dictionary of National Biography, use Template:Cite ODNB.
Usage
Common fields
{{cite DNB |wstitle=|last=|first=
|authorlink=|volume=}}
All fields
{{cite DNB |wstitle= |last= |first=
|authorlink= |volume= |pages= |quote=
|vb= |supplement= |no-icon= |title=
|url= |display= |accessdate=}}
Fields
- wstitle. Required. (but see title below).
- wstitle: DNB article name on Wikisource
- last: Surname of author. Don't wikilink (use
|authorlink=
instead).- first: Firstname(s) of author. Don't wikilink (use
|authorlink=
instead). - authorlink: Title of Wikipedia article about author. Article should already exist. Must not be wikilinked itself. Do not use this on its own, but along with
|first=
and|last=
.
- first: Firstname(s) of author. Don't wikilink (use
- volume: Volume in which the entry appears. Used to generate the year and editor information.
- pages or page: These parameters are for listing the pages relevant to the citation, not the total number of pages in the book. "
|pages=5–7
" produces "pp. 5–7", while "|page=5
" produces "p. 5". The "pp." notation indicating multiple pages, and "p." notation indicating a single page, are placed automatically when you choose between the plural (|pages=
) or singular (|page=
) form of the parameter. Page ranges should be separated by an unspaced en dash (–). - display=text — Optional. It will display the text on the wikipedia page masking the content of the wstitle= parameter.
- quote: Relevant quote from the article.
- vb=1: Display advisory that DNB text is copied verbatim into a Wikipedia article
- supplement=1: The article comes from the 1901 supplement.
- 2ndsupp=2: The article comes from the 1912 supplement.
- no-icon=1: Remove the lead icon.
- ref: When used with short-form notation;
{{sfn}}
,{{harv}}
and similar methods. - mode: Sets element separator, default terminal punctuation, and certain capitalization according to the value provided (see {{cite encyclopedia}} for details)
Deprecated fields
- title: (deprecated) DNB article name (can be coupled with
|url=
see below) - url: (deprecated) http://... link to web location. Only works when
|title=
is set; unset by|wstitle=
. - accessdate: (deprecated) Full date when an electronic item other than Wikisource was accessed. Requires
|url=
Should be in the same format as the rest of the article.
Examples
Using wstitle
{{cite DNB|wstitle=Sheldon, Gilbert|last=Hutton|first=William Holden|authorlink=William Holden Hutton|volume=52}}
displays as:
Hutton, William Holden (1897). . In Lee, Sidney (ed.). Dictionary of National Biography. Vol. 52. London: Smith, Elder & Co.
Using section
Sometimes a biography article includes other members of a family who are notable but are not considered notable enough to have their own entry. For example the DNB article on Sir Richard Wynn, 2nd Baronet appears in the DNB article "Wynn, John" (1553–1626) under the section name of "Sir Richard Wynn" (d. 1649). A section name can be given to access this article:
{{cite DNB|wstitle=Wynn, John |section=Wynn, Richard}}
Dictionary of National Biography. London: Smith, Elder & Co. 1885–1900.
.Using title and url
The title, url, and accessdate are deprecated. They were used to reference non-Wikisource locations before the entire DNB became available on Wikisource. They should not be used unless there is some compelling reason to do so: please leave an inline comment to justify this and leave a comment in the talk page of this template doc. Please convert any existing title/url to wstitle if you find one.
{{cite DNB|title=Abbadie, Jacques
|first=Arthur|last=Grant|url=
https://www.archive.org/stream/dictionarynatio43stepgoog#page/n15/mode/1up
|volume=1|page=1}}
Grant, Arthur (1885). "Abbadie, Jacques". In Stephen, Leslie (ed.). Dictionary of National Biography. Vol. 1. London: Smith, Elder & Co. p. 1.
Using no-icon
{{cite DNB|wstitle=Sheldon, Gilbert|last=Hutton|first=William Holden|authorlink=William Holden Hutton|volume=52|no-icon=1}}
displays as:
Hutton, William Holden (1897). "Sheldon, Gilbert". In Lee, Sidney (ed.). Dictionary of National Biography. Vol. 52. London: Smith, Elder & Co.
Using supplement
{{cite DNB|wstitle=Müller, George|last=Johnstone|first=Thomas Boston|volume=3|supplement=1}}
displays as:
Johnstone, Thomas Boston (1901). Lee, Sidney (ed.). Dictionary of National Biography (1st supplement). Vol. 3. London: Smith, Elder & Co.
. InUsing 2ndsupp
{{cite DNB |wstitle=Bramwell, Frederick Joseph|last=Wood|first=Henry Trueman Wright Wood |authorlink= |volume=1 |accessdate=2013-11-20 |pages=213–216 |2ndsupp=2}}
displays as:
Wood, Henry Trueman Wright Wood (1885). Stephen, Leslie (ed.). Dictionary of National Biography. Vol. 1. London: Smith, Elder & Co. pp. 213–216. {{cite encyclopedia}}
: Unknown parameter |2ndsupp=
ignored (help)
Using vb
If text is incorporated verbatim into an article, the vb
parameter can be used to tack on a notice appropriate to the policy in Wikipedia:Plagiarism.
{{Cite DNB|wstitle=Hartlib, Samuel|volume=25|vb=1}}
displays as:
This article incorporates text from a publication now in the public domain: Stephen, Leslie; Lee, Sidney, eds. (1891). . Dictionary of National Biography. Vol. 25. London: Smith, Elder & Co.
Other parameters; add a comment
{{cite DNB|wstitle=Sheldon, Gilbert|last=Hutton|first=William Holden|authorlink=William Holden Hutton|volume=52|pages=24–26|quote=Sheldon was placed at the head of the English church at a very critical time}} Archbishop of Canterbury, 1663–1677.
displays as:
Hutton, William Holden (1897). . In Lee, Sidney (ed.). Dictionary of National Biography. Vol. 52. London: Smith, Elder & Co. pp. 24–26. Sheldon was placed at the head of the English church at a very critical time
Archbishop of Canterbury, 1663–1677.
Hidden categories
This template contains several hidden categories to aid with maintenance. These can be found under:
See also
- {{DNB}} for use with text attribution.
- {{DNB poster}} for use in the external links section when there is a DNB article but it is not used as a reference.
- {{DNBSupp}}, {{Cite DNBSupp}}, {{DNBSupp poster}} for use with the 1901 DNB Supplement
- Wikipedia:WikiProject Dictionary of National Biography
- Wikisource:WikiProject DNB