Difference between revisions of "Template:DNZB"

From blackwiki
Jump to navigation Jump to search
imported>Schwede66
(https)
imported>Schwede66
(should be https://teara.govt.nz/)
 
Line 1: Line 1:
 
{{#if:{{{6|{{{plainlink|}}}}}}
 
{{#if:{{{6|{{{plainlink|}}}}}}
|[https://www.teara.govt.nz/en/biographies/{{{id|{{{3|}}}}}} {{{title|{{{4|}}}}}}]
+
|[https://teara.govt.nz/en/biographies/{{{id|{{{3|}}}}}} {{{title|{{{4|}}}}}}]
 
|{{#invoke:Template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite web
 
|{{#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
 
  |_alias-map = 1:last, 2:first, 4:title, 5:access-date, 7:author-link, 8:author, 9:authors
 
  |_exclude  = _debug, id
 
  |_exclude  = _debug, id
 
  |title      = {{PAGENAMEBASE}}
 
  |title      = {{PAGENAMEBASE}}
  |url        = https://www.teara.govt.nz/en/biographies/{{{id|{{{3|}}}}}}
+
  |url        = https://teara.govt.nz/en/biographies/{{{id|{{{3|}}}}}}
 
  |work      = [[Dictionary of New Zealand Biography]]
 
  |work      = [[Dictionary of New Zealand Biography]]
 
  |publisher  = [[Ministry for Culture and Heritage]]
 
  |publisher  = [[Ministry for Culture and Heritage]]

Latest revision as of 10:05, 20 November 2019

"[[:Template:PAGENAMEBASE]]". Dictionary of New Zealand Biography. Ministry for Culture and Heritage. URL–wikilink conflict (help)

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

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-29|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