Template:Team GB/doc

It is intended for use in the external links section of an article.

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

Unnamed parameters

 * Usage


 * Output


 * For both examples, the link will redirect to this URL
 * https://www.teamgb.com/athlete/georgia-taylor-brown/3mJ4dTktRC2EbB1oQ7901s


 * URLs with  do not redirect when using   ID format
 * https://www.teamgb.com/athlete/3mJ4dTktRC2EbB1oQ7901s (valid redirect)
 * https://www.teamgb.com/athlete/georgia-taylor-brown (invalid redirect)


 * URLs in template use  which allows some former   IDs to redirect
 * https://www.teamgb.com/athletes/georgia-taylor-brown/3mJ4dTktRC2EbB1oQ7901s (valid redirect)
 * https://www.teamgb.com/athletes/3mJ4dTktRC2EbB1oQ7901s (valid redirect)
 * https://www.teamgb.com/athletes/georgia-taylor-brown (invalid redirect, also see archived page)

Named parameters

 * Usage


 * Output


 * For all three examples, the link will redirect to this URL
 * https://www.teamgb.com/athlete/adam-peaty/4IF0r7CO9ZhPv57ojs4eR7


 * URL with  do not redirect when using   ID format
 * https://www.teamgb.com/athlete/4IF0r7CO9ZhPv57ojs4eR7 (valid redirect)
 * https://www.teamgb.com/athlete/adam-peaty (invalid redirect)


 * URLs in template use  which allows some former   IDs to redirect
 * https://www.teamgb.com/athletes/adam-peaty/4IF0r7CO9ZhPv57ojs4eR7 (valid redirect)
 * https://www.teamgb.com/athletes/4IF0r7CO9ZhPv57ojs4eR7 (valid redirect)
 * https://www.teamgb.com/athletes/adam-peaty (valid redirect, also see archived page)

Archived link

 * Usage


 * Output


 * URL in template
 * https://web.archive.org/web/20130207000459/https://www.teamgb.com/athletes/dominick-cunningham

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to an athlete's profile at TeamGB.com, the official website of Team GB and the British Olympic Association (BOA). It is intended for use in the external links section of an article.", "params": { "id": { "label": "ID", "aliases": ["1"], "description": "The ID portion of the URL. This may be the current ID, such as adam-peaty/4IF0r7CO9ZhPv57ojs4eR7 or 4IF0r7CO9ZhPv57ojs4eR7 in https://www.teamgb.com/athlete/adam-peaty/4IF0r7CO9ZhPv57ojs4eR7. It may also be the former ID, such as adam-peaty in https://www.teamgb.com/athletes/adam-peaty, which may redirect to the current URL (or link to an archived page when using the \"archive\" parameter). This parameter is optional if Wikidata property P4490 exists, but required if not.", "default": "Wikidata property P4490", "type": "string", "required": false },   "name": { "label": "Name", "aliases": ["2"], "description": "The link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(athlete)\".", "default": "", "type": "string", "required": false },   "archive": { "label": "Internet Archive date/time", "description": "A number indicating the date and time of an archive at the Internet Archive website. Example: 20130207000459 is the \"archive\" number in https://web.archive.org/web/20130207000459/https://www.teamgb.com/athletes/dominick-cunningham, which is an archive of https://www.teamgb.com/athletes/dominick-cunningham created on 2013-02-07 00:04:59.", "type": "number", "required": false } },  "paramOrder": [ "id", "name", "archive" ] }

Tracking categories

 * template with ID
 * template missing ID
 * template missing ID
 * template missing ID
 * template missing ID