Template:Team GB
This template uses Lua: |
Template:Team GB 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.
Usage
- Unnamed parameters
{{Team GB | ID }}
{{Team GB | ID | NAME }}
{{Team GB | ID | NAME | archive= NUMBER }}
- Named parameters
{{Team GB | id= ID }}
{{Team GB | id= ID | name= NAME }}
{{Team GB | id= ID | name= NAME | archive= NUMBER }}
- Using Wikidata property
{{Team GB}}
{{Team GB | name= NAME }}
{{Team GB | name= NAME | archive= NUMBER }}
Examples
Unnamed parameters
- Usage
* {{Team GB | georgia-taylor-brown/3mJ4dTktRC2EbB1oQ7901s | Georgia Taylor-Brown }}
* {{Team GB | 3mJ4dTktRC2EbB1oQ7901s | Georgia Taylor-Brown }}
- Output
- For both examples, the link will redirect to this URL
- https://www.teamgb.com/athlete/georgia-taylor-brown/3mJ4dTktRC2EbB1oQ7901s
- URLs with
/athlete/
do not redirect when usingfirst-last
ID format - https://www.teamgb.com/athlete/3mJ4dTktRC2EbB1oQ7901s (valid redirect)
https://www.teamgb.com/athlete/georgia-taylor-brown(invalid redirect)
- URLs in template use
/athletes/
which allows some formerfirst-last
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
* {{Team GB |id= adam-peaty/4IF0r7CO9ZhPv57ojs4eR7 |name= Adam Peaty }}
* {{Team GB |id= 4IF0r7CO9ZhPv57ojs4eR7 |name= Adam Peaty }}
* {{Team GB |id= adam-peaty |name= Adam Peaty }}
- Output
-
- Adam Peaty at Team GB
- Adam Peaty at Team GB
- Adam Peaty at Team GB
- For all three examples, the link will redirect to this URL
- https://www.teamgb.com/athlete/adam-peaty/4IF0r7CO9ZhPv57ojs4eR7
- URL with
/athlete/
do not redirect when usingfirst-last
ID format - https://www.teamgb.com/athlete/4IF0r7CO9ZhPv57ojs4eR7 (valid redirect)
https://www.teamgb.com/athlete/adam-peaty(invalid redirect)
- URLs in template use
/athletes/
which allows some formerfirst-last
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
* {{Team GB | dominick-cunningham | Dominick Cunningham |archive= 20130207000459 }}
* {{Team GB |id= dominick-cunningham |name= Dominick Cunningham |archive= 20130207000459 }}
- Output
-
- Dominick Cunningham at Team GB (archived)
- Dominick Cunningham at Team GB (archived)
- URL in template
- https://web.archive.org/web/20130207000459/https://www.teamgb.com/athletes/dominick-cunningham
No parameters and Wikidata property not defined
- Usage
* {{Team GB}}
- Output
-
- {{Team GB}} template missing ID and not present in Wikidata.
TemplateData
TemplateData for Team GB
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | 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.
| String | optional |
Name | name 2 | 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)".
| String | optional |
Internet Archive date/time | archive | 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. | Number | optional |
Tracking categories
- template with ID
- any preceding text ending with
/
is removed before comparison with Wikidata adam-peaty/4IF0r7CO9ZhPv57ojs4eR7
→4IF0r7CO9ZhPv57ojs4eR7
4IF0r7CO9ZhPv57ojs4eR7
→4IF0r7CO9ZhPv57ojs4eR7
- Category:Team GB template with ID same as Wikidata (405)
- Category:Team GB template with ID different from Wikidata (23)
- Category:Team GB template with ID not in Wikidata (0)
- template missing ID
- Category:Team GB template using Wikidata (349)
- Category:Team GB template missing ID and not in Wikidata (0)
See also
- {{BPA profile}} for athlete profiles from the British Paralympic Association
- {{Team England}} for athletes competing for England at the Commonwealth Games
- {{Team Scotland}} for athletes competing for Scotland at the Commonwealth Games
- {{Team Wales}} for athletes competing for Wales at the Commonwealth Games
Olympic profile templates
Country | Template | Wikidata property |
---|---|---|
{{Olympics.com profile}} | P5815: Olympics.com athlete ID | |
Argentina | {{COA profile}} | P4065: Argentine Olympic Committee athlete ID |
Australia | {{AOC profile}} | P3682: Australian Olympic Committee athlete ID |
Azerbaijan | {{Olympic.az profile}} | P10975: National Olympic Committee of the Republic of Azerbaijan athlete ID |
Belarus | {{NOC Belarus}} | |
Belgium | {{Team Belgium}} | P10963: Belgian Olympic and Interfederal Committee athlete ID |
Brazil | {{COB profile}} | P4060: Brazilian Olympic Committee athlete ID |
Canada | {{Team Canada}} | P4054: Team Canada athlete ID |
China | {{Chinese Olympic Committee profile}} | P4068: Chinese Olympic Committee athlete ID (archived) |
Croatia | {{HOO profile}} | P4541: Croatian Olympic Committee athlete ID (archived) |
Czech Republic | {{COV profile}} | P4062: Czech Olympic Committee athlete ID |
Estonia | {{ESBL profile}} | P4042: ESBL athlete ID |
Estonia | {{EOK profile}} | |
Finland | {{Olympiakomitea.fi}} | |
France | {{CNOSF profile}} | P4050: EspritBleu athlete ID (archived) |
France | {{Team France}} | P11934: Team France athlete ID |
Germany | {{DOSB profile}} | P4053: Team Deutschland athlete ID |
Great Britain | {{Team GB}} | P4490: Team GB athlete ID |
Greece | {{HOC profile}} | P4489: Hellenic Olympic Committee athlete ID (archived) |
Hungary | {{MOB profile}} | P4066: Hungarian Olympic Committee athlete ID |
Ireland | {{OFI profile}} | P10914: Olympic Federation of Ireland athlete ID |
Israel | {{OCI profile}} | P9669: Olympic Committee of Israel athlete ID (archived) |
Italy | {{CONI profile}} | P4069: Italian National Olympic Committee athlete ID |
Japan | {{JOC profile}} | |
Kazakhstan | {{Olympic.kz profile}} | P11024: National Olympic Committee of the Republic of Kazakhstan athlete ID |
Latvia | {{LOK profile}} | P2593: Latvian Olympic Committee athlete ID (archived) |
Lithuania | {{LTOK profile}} | P4061: Lithuanian National Olympic Committee athlete ID |
Luxembourg | {{COSL profile}} | P12372: Luxembourg Olympic and Sports Committee profile ID |
Morocco | {{CNOM profile}} | P11019: Moroccan Olympic Committee athlete ID |
Netherlands | {{TeamNL profile}} | P9822: TeamNL athlete ID number (archived) |
Netherlands | {{NOCNSF profile}} | P10957: NOC*NSF athlete ID |
New Zealand | {{NZOC profile}} | P4056: New Zealand Olympic Committee athlete ID |
Norway | {{Team Norway}} | |
Poland | {{PKOl profile}} | P6071: Polish Olympic Committee athlete ID (archived) |
Qatar | {{Team Qatar}} | |
Romania | {{COSR profile}} | P4067: Romanian Olympic and Sports Committee athlete ID (archived) |
Serbia | {{OKS profile}} | P10978: Olympic Committee of Serbia athlete ID (new) |
Singapore | {{SNOC profile}} | P10979: Singapore National Olympic Council athlete ID |
Slovakia | {{SOSV profile}} | P10647: Slovak Olympic and Sports Committee athlete ID |
Spain | {{COE profile}} | P8421: Spanish Olympic Committee athlete ID |
Sweden | {{SOK profile}} | P2323: Swedish Olympic Committee athlete ID |
Turkey | {{TMOK profile}} | P9973: Turkish National Olympic Committee athlete ID |
Turkey | {{Olimpedya}} | |
United States | {{USOPC profile}} | P4063: Team USA athlete former ID (archived) |