Difference between revisions of "Template:DNZB"
Jump to navigation
Jump to search
imported>Primefac (add in option for first2/last2) |
imported>JJMC89 (use Module:Template wrapper to allow all {{cite web}} parameters) |
||
Line 1: | Line 1: | ||
− | + | {{#if:{{{6|{{{plainlink|}}}}}} | |
− | + | |[http://www.teara.govt.nz/en/biographies/{{{id|{{{3|}}}}}} {{{title|{{{4|}}}}}}] | |
− | + | |{{#invoke:Template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite web | |
− | + | |_alias-map = 1:last, 2:first, 4:title, 5:access-date, 7:author-link, 8:author, 9:authors | |
− | + | |_exclude = _debug, id | |
− | + | |title = {{PAGENAMEBASE}} | |
− | + | |url = http://www.teara.govt.nz/en/biographies/{{{id|{{{3|}}}}}} | |
− | + | |work = [[Dictionary of New Zealand Biography]] | |
− | + | |publisher = [[Ministry for Culture and Heritage]] | |
− | + | }} | |
− | + | }}<noinclude> | |
− | + | {{Documentation}}</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 04:16, 19 November 2019
"[[:Template:PAGENAMEBASE]]". Dictionary of New Zealand Biography. Ministry for Culture and Heritage. URL–wikilink conflict (help)
![]() | This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This template creates a reference to an entry in the Dictionary of New Zealand Biography.
Usage
Copy and paste: {{DNZB|last=|first=|id=|title=|access-date=2025-09-30|df=dmy-all}}
Parameters
Required:
|id=
– teara.govt.nz/en/biographies/###/lastname-firstname
Optional:
- Any {{Cite web}} parameter:
|last=
– Surname of the author of the DNZB entry|first=
– First names of the author|title=
– Title of the DNZB entry; defaults to the page name without disambiguation|access-date=
– Date the DNZB entry was last verified to support the text in the Wikipedia article|df=
– Date format, i.e. dmy-all or mdy-all|plainlink=
– A plain link without cite web|author-link=
– Title of a Wikipedia article about the author
Examples
{{DNZB|id=1f9}}
→ "[[:Template:PAGENAMEBASE]]". Dictionary of New Zealand Biography. Ministry for Culture and Heritage. URL–wikilink conflict (help){{DNZB|id=1f9|3=title=FitzGerald, James Edward}}
→ "FitzGerald, James Edward". Dictionary of New Zealand Biography. Ministry for Culture and Heritage.{{DNZB|2=last=McIntyre|first=W. David|id=1f9|title=FitzGerald, James Edward|accessdate=2025-09-30|df=dmy-all}}
→ McIntyre, W. David. "FitzGerald, James Edward". Dictionary of New Zealand Biography. Ministry for Culture and Heritage. Retrieved 30 September 2025.
The above documentation is transcluded from Template:DNZB/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |