Template:DNB/doc

&#x3c;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&#x3e;

Quick explanation (aide-mémoire)
The template can be placed in different locations and depending on the what it is required the parameters can be mixed and matched:

Deprecated historical template usage
The DNB template predates the availability of the DNB articles at Wikisource and has evolved over time. In the past, editors used the "title=" and "url=" parameters to point to articles in non-Wikisource copies of the DNB, often scans of marginal quality. As of 2013, all DNB articles are available at Wikisource, so pointing non-Wikisource articles is deprecated: use wstitle instead to point to the Wikisource DNB article. If you encounter one of these older template instances, please convert it. If you feel that the pointer to a non-wikisource instance is better for some reason, please put a wiki comment next to the template to explain why and comment on the talk page at Wikipedia talk:WikiProject Dictionary of National Biography. Except for a very few anonymous articles, each article has an attributed author. Please use the information at Wikisource to fill in the "last=", "first=", and (when it exists) "authorlink=" parameters. The "volume=" and "page=" parameters are also easy to fill in, but are less critical.

Detailed notes
This template is wrapper around. In its default mode it attributes text to an article from the [Old] Dictionary of National Biography.

automatically sets some of the parameters before calling for example "publisher = Smith, Elder &". Over and above the standard parameter passed into there are some additional parameters and those are listed below in a separate table from the table of parameters passed into.

Minimum is: &#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;&#x3c;ref group=nb&#x3e;It will also work with no parameters, but that sets a category flagging that no article name has been given, as it is not much use to the reader to inform them that a Wikipedia article contains some text copied from somewhere in the 64-volumes of the Dictionary of National Biography!&#x3c;/ref&#x3e; Full set is:&#x3c;nowiki&#x3e;&#x3c;/nowiki&#x3e;

Hidden category
This template includes one of three hidden subcategories of category Category:Wikipedia articles incorporating text from the Dictionary of National Biography.
 * If &#x3c;code&#x3e;&#x3c;nowiki&#x3e;&#x3c;/code&#x3e; is used: Category:Articles incorporating DNB text with Wikisource reference is included.
 * otherwise Category:Articles incorporating DNB text without Wikisource reference is included.
 * If an unnamed parameter is set then the article name is listed in Category:Articles incorporating DNB template with an unnamed parameter

The categories do not appear at the bottom of the article page, but the article is listed on the category page.