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

Most commonly used parameters in horizontal format

{{ Dictionary of Welsh Biography |id= |title= |year= |first= |last= |author-link= |access-date= }}

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=8 May 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 8 May 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=8 May 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 8 May 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=8 May 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 8 May 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=8 May 2024}} displays as:

Löffler, Marion (8 June 2016). "HALL, BENJAMIN Lord Llanover (1802-1867), politician and reformer". DWB. Retrieved 8 May 2024.

Template data edit

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Dictionary of Welsh Biography in articles based on its TemplateData.

TemplateData for Dictionary of Welsh Biography

Provides a citation to the online version of the Dictionary of Welsh Biography (DWB)

Template parameters

ParameterDescriptionTypeStatus
idid

Extracted from the URL: https://biography.wales/article/##-####-###-####

Example
s-EDWA-WIL-1719
Stringrequired
titletitle

Title of entry.

Example
EDWARDS, WILLIAM (1719 - 1789), Independent minister, and architect
Stringrequired
access-dateaccess-date accessdate

the date a Wikipedia editor retrieved and/or verified information from the website

Auto value
{{subst:CURRENTDAY}} {{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Stringsuggested
lastlast

Last name of the entry's author.

Stringoptional
firstfirst

First name(s) of the entry's author.

Stringoptional
author-linkauthor-link authorlink

Name of article on author.

Stringoptional
datedate

Date.

Numberoptional
yearyear

Year.

Numberoptional
modemode

defaults to 'cs1'; set to 'cs2' to provide consistency with Citation style 2, as produced by {{citation}}

Stringoptional
fewer-linksfewer-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

Stringoptional
shortshort

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

Stringoptional

Tracking categories edit

See also edit