Template:Dictionary of Welsh Biography/doc

This template is used to provide a link to the online version of the Dictionary of Welsh Biography (DWB)  containing details of over 5,000 biographies of individuals associated with Wales.

Note: The shortcut version is "Cite DWB", not "DWB" as that template is used for something else.

Required parameters

 * id: Extracted from the last section of the URL: https://biography.wales/article/ ##-####-###-####
 * title: Title of the entry, e. g. EDWARDS, WILLIAM (1719 - 1789), Independent minister, and architect

Optional parameters
Additional information for the title:
 * first: First name(s) of the entry's author. For multiple authors use first1, first2 etc. with the corresponding last1, last2, and author-link1, author-link2.
 * last: Last name of the entry's author.
 * author-link: Name of article on author. See Dictionary of Welsh Biography for a list of notable contributors.
 * year or date:
 * access-date: the date a Wikipedia editor retrieved information from the Dictionary of Welsh Biography.
 * mode: defaults to cs1; set to cs2 to provide consistency with citation style 2, as produced by
 * fewer-links: use yes to remove repeated wikilinks where the template is used more than once in an article
 * short: use yes to change the output ' Dictionary of Welsh Biography. National Library of Wales' to ' DWB ' . Can be useful for matching the citation formatting on pages that use abbreviations for citations.

All Cite encyclopedia parameters are available.

Examples
displays as:

displays as:

Some articles may have multiple entries. yes can be used to remove the repeated internal wikilinks from any additional and subsequent instances of the template:

displays as:

Some articles may use abbreviations for sources which are used extensively. yes can be used to replace 'Dictionary of Welsh Biography' and 'National Library of Wales' with the abbreviation 'DWB'.:

displays as:

Template data
{	"description": "Provides a citation to the online version of the Dictionary of Welsh Biography (DWB)", "params": { "id": { "label": "id", "description": "Extracted from the URL: https://biography.wales/article/##-####-###-####", "example": "s-EDWA-WIL-1719", "required": true, "type": "string" },		"title": { "label": "title", "description": "Title of entry.", "example": "EDWARDS, WILLIAM (1719 - 1789), Independent minister, and architect", "type": "string", "required": true },		"access-date": { "label": "access-date", "description": "the date a Wikipedia editor retrieved and/or verified information from the website", "required": false, "suggested": true, "aliases": ["accessdate"], "autovalue": " ", "type": "string" },		"last": { "label": "last", "description": "Last name of the entry's author.", "required": false, "type": "string" },		"first": { "label": "first", "description": "First name(s) of the entry's author.", "required": false, "type": "string" },		"author-link": { "label": "author-link", "aliases": ["authorlink"], "description": "Name of article on author.", "type": "string", "required": false },		"date": { "label": "date", "description": "Date.", "type": "number", "required": false },		"year": { "label": "year", "description": "Year.", "type": "number", "required": false },		"mode": { "label": "mode", "description": "defaults to 'cs1'; set to 'cs2' to provide consistency with Citation style 2, as produced by ", "required": false, "type": "string" },		"fewer-links": { "label": "fewer-links", "description": "set to 'yes' to remove repeated wikilinks to 'Dictionary of Welsh Biography' and 'National Library of Wales' where the template is used more than once in an article", "required": false, "type": "string" },		"short": { "label": "short", "description": "set to 'yes' to replace 'Dictionary of Welsh Biography' and 'National Library of Wales' with the abbreviation 'DWB'. Can be used to provide consistent formatting in an article ", "required": false, "type": "string" }	} }

Tracking categories

 * This tracks pages which have an empty id field.
 * This tracks pages which have an empty id field.