Template:DNBset/doc
From Wikisource
| This is a documentation subpage for Template:DNBset. It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Contents |
Usage [edit]
Template, by default, used to apply {{DNB00}} and typeset pages in a standard fashion utilising partial or full transclusion from the Page: namespace.
Ideally, copy and paste the text between and including the curly brackets {{DNBset}} (below) as it is, complete the required detail and save.
Note that this template needs to be substituted for full effect, as shown.
- Where start and finish <section>s are given the same id
{{subst:DNBset
|article=
|previous=
|next=
|volume =
|contributor =
|wikipedia =
|extra_notes=
|from=
|to=
|section=
}}
- Where start and finish <section>s are given different id names.
{{subst:DNBset
|article=
|previous=
|next=
|volume =
|contributor =
|wikipedia =
|extra_notes=
|from=
|to=
|fromsection=
|tosection=
}}
Example [edit]
Code [edit]
{{subst:DNBset
|article= Faraday, Michael
|previous= Fanshawe, Sir Thomas
|next= Farey, John (1766-1826)
|volume = 18
|contributor =John Tyndall
|wikipedia = Michael Faraday
|extra_notes=
|from=196
|to=208
|section=Faraday, Michael
}}
Output [edit]
{{DNB00
|article= Faraday, Michael
|previous= Fanshawe, Sir Thomas
|next= Farey, John (1766-1826)
|volume= 18
|wikipedia = Michael Faraday
|extra_notes=
|contributor = John Tyndall
}}
<pages index="Dictionary of National Biography volume 18.djvu" from="196" to="208"
fromsection="Faraday, Michael" tosection="Faraday, Michael"></pages>
In the wild [edit]
DNB01 and DNB12 [edit]
This template can also be used to apply the headers {{DNB01}} and {{DNB12}} by addition of the parameter yr = xx within the template, eg.
- yr = 01 for DNB01; or
- yr = 12 for DNB12