Difference between revisions of "Template:Cite DNB12/doc"

From blackwiki
Jump to navigation Jump to search
imported>Debresser
m (Reverted edits by Debresser (talk) to last version by Mogism)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{lua|Module:template wrapper}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
=== Purpose ===
 
=== Purpose ===
Line 11: Line 12:
 
'''All fields'''
 
'''All fields'''
  
<code><nowiki>{{cite DNB12|wstitle=|title=|last=|first=|authorlink=|volume=|pages=|quote=|accessdate=|no-icon|comment=}}</nowiki></code>
+
<code><nowiki>{{cite DNB12|wstitle=|title=|last=|first=|authorlink=|volume=|pages=|quote=|accessdate=|no-icon|comment=|ref=}}</nowiki></code>
  
 
=== Fields ===
 
=== Fields ===
Line 17: Line 18:
 
** '''wstitle''': DNB supplement article name on Wikisource or
 
** '''wstitle''': DNB supplement article name on Wikisource or
 
** '''title''': DNB supplement article name (can be coupled with ''url='' see below)
 
** '''title''': DNB supplement article name (can be coupled with ''url='' see below)
* '''url''': ''<nowiki>http://...</nowiki>'' link to web location. Useful with ''title'', unset by ''wstitle''
+
* '''url''': ''<nowiki>http://...</nowiki>'' link to web location other than Wikisource. Useful with ''title'', unset by ''wstitle''
 
* '''last''': Surname of author. Don't wikilink (use authorlink instead).  
 
* '''last''': Surname of author. Don't wikilink (use authorlink instead).  
 
** '''first''': Firstname(s) 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".
 
** '''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".
 
* '''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.
 
+
* '''accessdate''': Full date when an electronic item other than Wikisource was accessed. Requires {{para|url}}. Should be in the same format as the rest of the article.
* '''accessdate''': Full date when item was accessed. Should be in the same format as the rest of the article.
 
 
* '''pages''' or '''page''': These parameters are for listing the pages relevant to the citation, ''not'' the total number of pages in the book. "<code>|pages= 5–7</code>" produces "pp. 5–7", while "<code>|page= 5</code>" 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]] (–).
 
* '''pages''' or '''page''': These parameters are for listing the pages relevant to the citation, ''not'' the total number of pages in the book. "<code>|pages= 5–7</code>" produces "pp. 5–7", while "<code>|page= 5</code>" 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]] (–).
 
* '''quote''': Relevant quote from the article.
 
* '''quote''': Relevant quote from the article.
 
* '''no-icon=1''': removes the lead icon
 
* '''no-icon=1''': removes the lead icon
 
* '''comment''': Optional comment which follows the citation.
 
* '''comment''': Optional comment which follows the citation.
 +
* '''ref''': Optional anchor for use with short reference links.
  
 
=== Examples ===
 
=== Examples ===
Line 38: Line 39:
 
Example using ''title'' and ''url'':
 
Example using ''title'' and ''url'':
  
<code><nowiki>{{Cite DNB12|first=Augustus Robert |last=Buckland|title=Perowne, Edward Henry |url=http://www.archive.org/stream/dictionaryofnati23lees#page/108/mode/2up |volume=3 |page=108}}</nowiki></code>
+
<code><nowiki>{{Cite DNB12|first=Augustus Robert |last=Buckland|title=Perowne, Edward Henry |url=https://archive.org/stream/dictionaryofnati23lees#page/108/mode/2up |volume=3 |page=108}}</nowiki></code>
 
displays as:
 
displays as:
:{{Cite DNB12|first=Augustus Robert |last=Buckland|title=Perowne, Edward Henry |url=http://www.archive.org/stream/dictionaryofnati23lees#page/108/mode/2up |volume=3 |page=108}}
+
:{{Cite DNB12|first=Augustus Robert |last=Buckland|title=Perowne, Edward Henry |url=https://archive.org/stream/dictionaryofnati23lees#page/108/mode/2up |volume=3 |page=108}}
  
 
Example using more parameters:
 
Example using more parameters:
Line 49: Line 50:
 
displays as:
 
displays as:
  
{{cite DNB12|wstitle=Perowne, Edward Henry|last=Buckland|first=Augustus Robert|authorlink=Augustus Robert Buckland|volume=3|page=108|accessdate=27 March 2011|quote=He died unmarried at Cambridge, after a long illness|comment=Master of Corpus Christi College, Cambridge.}}
+
{{cite DNB12|wstitle=Perowne, Edward Henry|last=Buckland|first=Augustus Robert|authorlink=Augustus Robert Buckland|volume=3|page=108|quote=He died unmarried at Cambridge, after a long illness|comment=Master of Corpus Christi College, Cambridge.}}
  
 
=== See also ===
 
=== See also ===
* {{tl|DNB}}
+
{{#lst:Template:Cite DNB/doc|DNB_see_also}}
* {{tl|DNB Poster}}
 
* [[Wikipedia:WikiProject Dictionary of National Biography]]
 
* [[s:Wikisource:WikiProject DNB|Wikisource:WikiProject DNB]]
 
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
{{DEFAULTSORT:Dnb12 Cite}}
+
{{DEFAULTSORT:Cite Dnb12}}
 
[[Category:Attribution templates]]
 
[[Category:Attribution templates]]
 
[[Category:Dictionary of National Biography templates]]
 
[[Category:Dictionary of National Biography templates]]
 
[[Category:Wikisource link templates]]
 
[[Category:Wikisource link templates]]
 
[[Category:Missing encyclopedic articles (Dictionary of National Biography)]]
 
[[Category:Missing encyclopedic articles (Dictionary of National Biography)]]
</includeonly>
+
}}</includeonly>

Latest revision as of 05:18, 24 April 2020

Purpose

This template enables the citation of articles from the Wikisource project Dictionary of National Biography, 1912 supplement in the manner of non-link references and notes.

Usage

Common fields

{{cite DNB12|wstitle=|last=|first=|authorlink=|volume=}}

All fields

{{cite DNB12|wstitle=|title=|last=|first=|authorlink=|volume=|pages=|quote=|accessdate=|no-icon|comment=|ref=}}

Fields

  • wstitle or title. Required.
    • wstitle: DNB supplement article name on Wikisource or
    • title: DNB supplement article name (can be coupled with url= see below)
  • url: http://... link to web location other than Wikisource. Useful with title, unset by wstitle
  • 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".
  • volume: Volume in which the entry appears. Used to generate the year and editor information.
  • accessdate: 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.
  • 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 (–).
  • quote: Relevant quote from the article.
  • no-icon=1: removes the lead icon
  • comment: Optional comment which follows the citation.
  • ref: Optional anchor for use with short reference links.

Examples

Example using wstitle:

{{Cite DNB12|first=Augustus Robert |last=Buckland|wstitle=Perowne, Edward Henry|volume=3}} displays as:

Buckland, Augustus Robert (1912). "Perowne, Edward Henry" . In Lee, Sidney (ed.). Dictionary of National Biography (2nd supplement). 3. London: Smith, Elder & Co.

Example using title and url:

{{Cite DNB12|first=Augustus Robert |last=Buckland|title=Perowne, Edward Henry |url=https://archive.org/stream/dictionaryofnati23lees#page/108/mode/2up |volume=3 |page=108}} displays as:

 Buckland, Augustus Robert (1912). "Perowne, Edward Henry". In Lee, Sidney (ed.). Dictionary of National Biography (2nd supplement). 3. London: Smith, Elder & Co. p. 108.

Example using more parameters:

{{cite DNB12|wstitle=Perowne, Edward Henry|last=Buckland|first=Augustus Robert|authorlink=Augustus Robert Buckland|volume=3|page=108|accessdate=27 March 2011|quote=He died unmarried at Cambridge, after a long illness|comment=Master of Corpus Christi College, Cambridge.}}

displays as:

Buckland, Augustus Robert (1912). "Perowne, Edward Henry" . In Lee, Sidney (ed.). Dictionary of National Biography (2nd supplement). 3. London: Smith, Elder & Co. p. 108. He died unmarried at Cambridge, after a long illness Master of Corpus Christi College, Cambridge.

See also

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