Difference between revisions of "Template:DNB12"

From blackwiki
Jump to navigation Jump to search
imported>Arch dude
(sp)
imported>Trappist the monk
m (- the rest of ref; not needed;)
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
''This article incorporates text from {{#if:{{{1|}}}| the entry'''[[s:{{{1}}} (DNB01)|{{{1}}}]]''' in }} the 1912 edition of the''[[Dictionary of National Biography]]'', a publication now in the[[public domain]].''<includeonly>
+
{{DNB/prescript
{{#if:{{{1|}}}
+
|noicon = {{{no-icon|{{{noicon|}}}}}}
 +
|wstitle = {{{wstitle|}}}
 +
|prescript = {{{prescript|}}}
 +
|inline = {{{inline|}}}
 +
}}{{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite DNB12
 +
  |_exclude=inline, prescript, _debug
 +
 
 +
  |no-icon=1
 +
}}<includeonly>{{#ifeq: {{NAMESPACEE}} |<!--is set-->|<!--then--
 +
-->{{#if:{{{wstitle|}}}
 
   |[[Category:Articles incorporating DNB12 text with Wikisource reference]]
 
   |[[Category:Articles incorporating DNB12 text with Wikisource reference]]
 
   |[[Category:Articles incorporating DNB12 text without Wikisource reference]]
 
   |[[Category:Articles incorporating DNB12 text without Wikisource reference]]
}}</includeonly><noinclude>
+
}}{{#if:{{{1|}}}
 +
  |[[Category:Articles incorporating DNB12 template with an unnamed parameter]]
 +
}}<!--
 +
-->}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
[[Category:Dictionary of National Biography templates|{{PAGENAME}}]]
 
[[Category:Attribution templates|DNB (1912 edition)]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:47, 19 April 2020

 This article incorporates text from a publication now in the public domainDictionary of National Biography (2nd supplement). London: Smith, Elder & Co. 1912. Missing or empty |title= (help)

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

Purpose

To apply a text tag to articles where the 1912 supplement to the DNB has been used as a point of reference for constructing the article.

Usage

There are two methods to apply:

Method one: Plain

The template without any parameters:

{{DNB12}} produces:
 This article incorporates text from a publication now in the public domainDictionary of National Biography (2nd supplement). London: Smith, Elder & Co. 1912. Missing or empty |title= (help)

Method two: Piped

The template with one parameter (pipe symbol and article name) that links to the associated article at Wikisource's Dictionary of National Biography, 1912 Supplement:

{{DNB12|wstitle=Perowne, Edward Henry}} produces:
 This article incorporates text from a publication now in the public domain"Perowne, Edward Henry". Dictionary of National Biography (2nd supplement). London: Smith, Elder & Co. 1912.

Hidden category

This template includes one of two hidden subcategories of category Category:Wikipedia articles incorporating text from the Dictionary of National Biography. If a "Piped" template is used, Category:Articles incorporating DNB12 text with Wikisource reference is included. If a "plain" template is used, Category:Articles incorporating DNB12 text without Wikisource reference is included. In either case the category does not appear at the bottom of the article page, but the article is listed on the category page.

See also

{{#lst:Template:Cite DNB/doc|DNB_see_also}}