Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Team Wales/doc

From Wikipedia, the free encyclopedia

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]

Omit the ID to use the Wikidata property.

Article name as link text
{{Team Wales | ID }}
{{Team Wales | ID | archive= NUMBER }}
{{Team Wales | id= ID }}
{{Team Wales | id= ID | archive= NUMBER }}
Parameter as link text
{{Team Wales | ID | NAME }}
{{Team Wales | ID | NAME | archive= NUMBER }}
{{Team Wales | id= ID | name= NAME }}
{{Team Wales | id= ID | name= NAME | archive= NUMBER }}

Example

[edit]

Article name as link text

[edit]
Usage in Anna Hursey
* {{Team Wales | anna-hursey }}
* {{Team Wales | anna-hursey | archive= 20240710164752 }}
Output
Current URL
https://teamwales.cymru/athletes/anna-hursey/
Former URLs
https://teamwales.cymru/athlete/anna-hursey/ (archive 2024-07-10)
https://teamwales.cymru/en/athletes/anna-hursey/ (archive 2022-03-28)

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 anna-hursey in https://teamwales.cymru/athletes/anna-hursey/. This parameter is optional if Wikidata property P12193 exists, but required if not.

Default
Wikidata property P12193
Example
anna-hursey
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
Anna Hursey
Stringoptional
Internet Archive Date/Timearchive

A number representing the date/time in an Internet Archive URL such as https://web.archive.org/web/20240710164752/https://teamwales.cymru/athlete/anna-hursey/ (2024-07-10 16:47:52 archive of https://teamwales.cymru/athlete/anna-hursey/).

Example
20240710164752
Numberoptional

See also

[edit]
[edit]