Template:Team Wales displays an external link to an athlete's profile at TeamWales.cymru, the official website of Commonwealth Games Wales. It is intended for use in the external links section of an article.

Usage

edit
Unnamed parameters
{{Team Wales | ID }}
{{Team Wales | ID | NAME }}
Named parameters
{{Team Wales | id= ID }}
{{Team Wales | id= ID | name= NAME }}
Using Wikidata property
{{Team Wales}}
{{Team Wales | name= NAME }}

Examples

edit

Unnamed parameters

edit
Usage
* {{Team Wales | charlotte-arter | Charlotte Arter }}
Output
Current URL
https://teamwales.cymru/athlete/charlotte-arter/
Former URL
https://teamwales.cymru/en/athletes/charlotte-arter/ (archive 2022-09-22)

Named parameters

edit
Usage
* {{Team Wales |id= callum-williams |name= Callum Williams }}
Output
Current URL
https://teamwales.cymru/athlete/callum-williams/
Former URL
https://teamwales.cymru/en/athletes/callum-williams/ (archive 2022-09-20)

No parameters and no ID in Wikidata property

edit
Usage
* {{Team Wales}}
Output
  • {{Team Wales}} template missing ID and not present in Wikidata.

TemplateData

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

TemplateData for Team Wales

This template displays an external link to an athlete's profile at TeamWales.cymru, the official website of Commonwealth Games Wales. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID portion of the URL, such as charlotte-arter in https://teamwales.cymru/athlete/charlotte-arter/. This parameter is optional if Wikidata property P12193 exists, but required if not.

Default
Wikidata property P12193
Example
charlotte-arter
Stringoptional
Namename 2

The link text, which should be the name of the person. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Example
Charlotte Arter
Stringoptional

See also

edit
edit