Template:Dictionary of Welsh Biography/doc
This is a documentation subpage for Template:Dictionary of Welsh Biography. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 1 wrapper template based on {{Cite encyclopedia}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
This external link template is underused, compared to the number of links to the site it represents (check here). Please help convert those links to make use of this template, for ease of tracking, and ease of interoperability with Wikidata. |
This template is used to provide a link to the online version of the Dictionary of Welsh Biography (DWB) (https://biography.wales/)
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.
Usage
[edit]
|
Required parameters
[edit]- 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
[edit]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
|mode=cs1
; set to|mode=cs2
to provide consistency with citation style 2, as produced by{{citation}}
- fewer-links: use
|fewer-links=yes
to remove repeated wikilinks where the template is used more than once in an article - short: use
|short=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
[edit]{{Dictionary of Welsh Biography|id=s-EDWA-ROB-1775|title=EDWARDS, ROBERT (Robin Ddu o Feirion; 1775 - 1805), poet and antiquary|first=Elwyn|last=Evans|year=1959|access-date=23 November 2024}}
displays as:
- Evans, Elwyn (1959). "EDWARDS, ROBERT (Robin Ddu o Feirion; 1775 - 1805), poet and antiquary". Dictionary of Welsh Biography. National Library of Wales. Retrieved 23 November 2024.
{{Dictionary of Welsh Biography|id=s12-YATE-NIG-1944|title=YATES, WILFRID NIGEL (1944 - 2009), archivist and historian|first=Liz|last=Rees|mode=cs2|date=10 August 2021|access-date=23 November 2024}}
displays as:
- Rees, Liz (10 August 2021), "YATES, WILFRID NIGEL (1944 - 2009), archivist and historian", Dictionary of Welsh Biography, National Library of Wales, retrieved 23 November 2024
Some articles may have multiple entries. |fewer-links=yes
can be used to remove the repeated internal wikilinks from any additional and subsequent instances of the template:
{{Dictionary of Welsh Biography|id=s11-HALL-BEN-1802|title=HALL, BENJAMIN Lord Llanover (1802-1867), politician and reformer|first=Marion|last=Löffler|date=8 June 2016|fewer-links=yes|access-date=23 November 2024}}
displays as:
- Löffler, Marion (8 June 2016). "HALL, BENJAMIN Lord Llanover (1802-1867), politician and reformer". Dictionary of Welsh Biography. National Library of Wales. Retrieved 23 November 2024.
Some articles may use abbreviations for sources which are used extensively. |short=yes
can be used to replace 'Dictionary of Welsh Biography' and 'National Library of Wales' with the abbreviation 'DWB'.:
{{Dictionary of Welsh Biography|id=s11-HALL-BEN-1802|title=HALL, BENJAMIN Lord Llanover (1802-1867), politician and reformer|first=Marion|last=Löffler|date=8 June 2016|short=yes|access-date=23 November 2024}}
displays as:
- Löffler, Marion (8 June 2016). "HALL, BENJAMIN Lord Llanover (1802-1867), politician and reformer". DWB. Retrieved 23 November 2024.
Template data
[edit]TemplateData for Dictionary of Welsh Biography
Provides a citation to the online version of the Dictionary of Welsh Biography (DWB)
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id | Extracted from the URL: https://biography.wales/article/##-####-###-####
| String | required |
title | title | Title of entry.
| String | required |
access-date | access-date accessdate | the date a Wikipedia editor retrieved and/or verified information from the website
| String | suggested |
last | last | Last name of the entry's author. | String | optional |
first | first | First name(s) of the entry's author. | String | optional |
author-link | author-link authorlink | Name of article on author. | String | optional |
date | date | Date. | Number | optional |
year | year | Year. | Number | optional |
mode | mode | defaults to 'cs1'; set to 'cs2' to provide consistency with Citation style 2, as produced by {{citation}} | String | optional |
fewer-links | fewer-links | 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 | String | optional |
short | short | 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 | String | optional |
Tracking categories
[edit]- Category:Dictionary of Welsh Biography citations needing attention (3)
- This tracks pages which have an empty
|id=
field.
- This tracks pages which have an empty
See also
[edit]- Wikipedia:WikiProject Wales/Dictionary of Welsh Biography –
- {{National Historic Assets of Wales}} – provides a link to items on the Cadw database.
- {{Coflein}} – provides a link to items on the RCAHMW database for the National Monuments Record of Wales (NMRW).