close
Sayahna Sayahna
Search

Difference between revisions of "Template:Cite DCB/sandbox"


m (moved Template:Canadabio/sandbox to Template:Cite DCB/sandbox: standard name for citation templates such as "Cite DNB")
 
m (1 revision)
 
(No difference)

Latest revision as of 04:06, 22 March 2014

"Cite DCB/sandbox". Dictionary of Canadian Biography (online ed.). University of Toronto Press. 1979–2005. 


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

Usage

This template is a wrapper around {{cite encyclopedia}} it is intended to format a link to the online edition to the Dictionary of Canadian Biography Online (DCB) so that it appears as a standard citation, while filling in many of the fields base on the fixed identification number and the volume.

{{Cite DCB|ID=####|name=}}

The ID parameter is derived from the "id_nbr" parameter of the articles URL.

For example, if the biography item for Richard Willis Jameson is located at this URL:

http://www.biographi.ca/009004-119.01-e.php?&id_nbr=6182

Then the ID parameter in this case is 6182.

Set up the following template line for ID=6182:

{{Cite DCB|ID=6182}}

which produces the following link item:

"Richard Willis Jameson". Dictionary of Canadian Biography (online ed.). University of Toronto Press. 1979–2005. 

The name parameter should be filled out as the entry in the DCB is in the format surname, first names while Wikipedia entries are in the format

be used when the name of the biography is different from that of the wikipedia article, such as when the template us used in a reference to another person

{{Cite DCB|ID=6186|name=Jenkins, John }}

which produces the following link item:

"Jenkins, John". Dictionary of Canadian Biography (online ed.). University of Toronto Press. 1979–2005. 

In addition the parameters:

  • volume=number or Roman numeral will fill in additional details, including editors and year of publication.
  • ref=harv works as it does in the template {{cite encyclopedia}} and allows this template to be used as a general reference and linked to a short citation.

Finally, the parameters:

  • last=last name (or last1, last2, ...)
  • first=first name (or first1, first2, ...)
  • author=first-name initial last-name (or author1, author2, ...)
  • authorlink=title of Wikipedia article about the author (or authorlink1, authorlink2, ...)

are passed through, if specified, to the underlying {{cite encyclopedia}} template. See that template's documentation.

{{Cite DCB |ID=6186 |name=Jenkins, John |first=John S. |last=Moir |volume=12 |ref=harv}}

produces the following link item:

Moir, John S. (1990). "Jenkins, John". In Halpenny, Francess G. Dictionary of Canadian Biography. XII (1891–1900) (online ed.). University of Toronto Press. 

See also

{{Dictionary of Canadian Biography}} a navigation template listing biography subjects in the DCB

de:Vorlage:DCB ko:틀:Canadabio