Jump to content

Template:Team USA/doc

From Wikipedia, the free encyclopedia

Template:Team USA displays an external link to an athlete's profile at TeamUSA.com or an archived link from TeamUSA.org, the current and former official websites of the United States Olympic & Paralympic Committee. It is intended for use in the external links section of an article.

Usage

[edit]
Named parameters (current URL)
{{Team USA |new_id= NEW-ID }}
{{Team USA |new_id= NEW-ID |name= NAME }}
{{Team USA |new_id= NEW-ID |name= NAME |old_id= OLD-ID }}
{{Team USA |new_id= NEW-ID |name= NAME |old_id= OLD-ID |archive= NUMBER }}
{{Team USA |new_id= NEW-ID |name= NAME |old_id= OLD-ID |sport= SPORT }}
{{Team USA |new_id= NEW-ID |name= NAME |old_id= OLD-ID |sport= SPORT |archive= NUMBER }}
Named parameters (archived URL)
{{Team USA |old_id= OLD-ID }}
{{Team USA |old_id= OLD-ID |name= NAME }}
{{Team USA |old_id= OLD-ID |name= NAME |sport= SPORT }}
{{Team USA |old_id= OLD-ID |name= NAME |sport= SPORT |archive= NUMBER }}
Unnamed parameters (archived URL)
{{Team USA | OLD-ID }}
{{Team USA | OLD-ID | NAME }}
{{Team USA | OLD-ID | NAME | SPORT }}
Using Wikidata property P13540 or P4063
archive parameter is only used with P4063
if both properties exist, only P13540 link is displayed (use archive parameter to display both links)
{{Team USA}}
{{Team USA |name= NAME }}
{{Team USA |name= NAME |archive= NUMBER }}

Examples

[edit]

Current URL

[edit]
URL
https://www.teamusa.com/profiles/john-shuster-810650
https://www.teamusa.com/profiles/rachael-adams
Usage
* {{Team USA|new_id=john-shuster-810650|name=John Shuster}}
* {{Team USA|new_id=rachael-adams|name=Rachael Adams}}
Output

Former URL without sport (archived)

[edit]
URLs
https://web.archive.org/web/20230627000000/https://www.teamusa.org/Athletes/SH/John-Shuster
https://web.archive.org/web/20220823094018/https://www.teamusa.org/athletes/sh/john-shuster
Usage
* {{Team USA | SH/John-Shuster | John Shuster }}
* {{Team USA |id= sh/john-shuster |name= John Shuster |archive= 20220823094018 }}
Output

Former URL with sport (archived)

[edit]
URLs
https://web.archive.org/web/20230627000000/https://www.teamusa.org/USA-Curling/Athletes/John-Shuster
https://web.archive.org/web/20230531172001/https://www.teamusa.org/usa-curling/athletes/john-shuster
Usage
* {{Team USA | John-Shuster | John Shuster | USA-Curling }}
* {{Team USA |id= john-shuster |name= John Shuster |sport= usa-curling |archive= 20230531172001 }}
Output

Current and Former URLs

[edit]
Usage
* {{Team USA|new_id=john-shuster-810650|name=John Shuster|old_id=sh/john-shuster|archive=20220823094018}}
* {{Team USA|SH/John-Shuster|John Shuster|new_id=john-shuster-810650}}
* {{Team USA|John-Shuster|John Shuster|USA-Curling|new_id=john-shuster-810650}}
Output

No parameters and Wikidata property not defined

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

Examples of former URLs for different sports

[edit]

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 USA in articles based on its TemplateData.

TemplateData for Team USA

This template displays an external link to an athlete's profile at TeamUSA.com or an archived link from TeamUSA.org, the current and former official websites of the United States Olympic & Paralympic Committee. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
Current ID for athletenew_id

The portion of the current TeamUSA.com URL which follows /profiles/, such as john-shuster-810650 in https://www.teamusa.com/profiles/john-shuster-810650 or rachael-adams in https://www.teamusa.com/profiles/rachael-adams. This parameter is optional if the "id" parameter (or unnamed parameter "1") is used or if Wikidata property P2593 exists.

Example
john-shuster-810650
Stringoptional
Former ID for athleteid 1 old_id

The portion of the former TeamUSA.org URL which follows /Athletes/, such as SH/John-Shuster in https://www.teamusa.org/Athletes/SH/John-Shuster or John-Shuster in https://www.teamusa.org/USA-Curling/Athletes/John-Shuster. This parameter is optional if the "new_id" parameter is used or Wikidata property P2593 exists, but required if not.

Default
Wikidata property P2593
Example
SH/John-Shuster
Stringoptional
Namename 2

The name of the athlete. If not given, it defaults to the Wikipedia article name without any disambiguation such as (athlete).

Default
{{PAGENAMEBASE}}
Example
John Shuster
Stringoptional
Former ID for sportsport 3

The portion of the former URL containing the sport name, such as USA-Curling in https://www.teamusa.org/USA-Curling/Athletes/John-Shuster.

Example
USA-Curling
Stringoptional
Archivearchive

Number representing the date/time in an Internet Archive URL, such as 20220823094018 in https://web.archive.org/web/20220823094018/https://www.teamusa.org/Athletes/SH/John-Shuster.

Default
20230627000000
Example
20220823094018
Numberoptional

Tracking categories

[edit]
tracking articles using current ID in template (link to TeamUSA.com)
tracking articles using former ID in template (archived link to TeamUSA.org)
template missing ID

See also

[edit]

Olympic profile templates

[edit]
Country Template Wikidata property
{{Olympics.com}} P5815: Olympics.com athlete ID
Argentina {{COA profile}} P4065: Argentine Olympic Committee athlete ID
Australia {{Australian Olympic Committee}} P3682: Australian Olympic Committee athlete ID
Austria {{Team Austria}}
Azerbaijan {{Olympic.az}} P10975: Azerbaijan Olympic Committee 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
Czech Republic {{COV profile}} P4062: Czech Olympic Committee athlete ID
Estonia {{ESBL profile}} P4042: ESBL athlete ID
Estonia {{EOK profile}}
Finland {{Olympiakomitea.fi}} P13268: Finnish Olympic Committee athlete ID
France {{Team France}}
{{CNOSF profile}}
P11934: Team France athlete ID
P4050: France EspritBleu athlete ID (archived)
Germany {{Team Deutschland}} P4053: Team Deutschland athlete ID
Great Britain {{Team GB}} P4490: Team GB athlete ID
Greece {{HOC profile}} No property for current ID
P4489: Hellenic Olympic Committee athlete ID (archived)
Hungary {{MOB profile}} P4066: Hungarian Olympic Committee athlete ID
Ireland {{OFI profile}} P10914: Ireland Olympic Committee athlete ID
Israel {{OCI profile}} P9669: Israel Olympic Committee athlete ID (archived)
Italy {{CONI profile}} P4069: Italian National Olympic Committee athlete ID
Japan {{Team Japan}}
Kazakhstan {{Olympic.kz}} P11024: Kazakhstan Olympic Committee athlete ID
Latvia {{LOK profile}} No property for current ID
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}} No property for current ID
P9822: TeamNL athlete ID number (archived)
Netherlands {{NOCNSF profile}} P10957: Netherlands Olympic Committee athlete ID
New Zealand {{NZOC profile}} P4056: New Zealand Olympic Committee athlete ID
Norway {{Team Norway}}
Poland {{PKOl profile}} No property for current ID
P6071: Polish Olympic Committee athlete ID (archived)
Qatar {{Team Qatar}}
Romania {{COSR profile}} No property for current ID
P4067: COSR athlete ID (archived)
Serbia {{OKS profile}} P10978: Serbia Olympic Committee 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 (archived)
Sweden {{SOK profile}} P2323: Swedish Olympic Committee athlete ID
Turkey {{TMOK profile}}
{{Olimpedya}}
P9973: Turkish National Olympic Committee athlete ID
 
United States {{Team USA}} P13540: TeamUSA.com athlete ID
P4063: TeamUSA.org athlete ID (archived)

Paralympic profile templates

[edit]
Country Template Wikidata property
{{International Paralympic Committee}} P7550: Paralympic.org sportsperson ID
Australia {{Paralympics Australia}} P10976: Paralympics Australia athlete ID
Brazil {{CPB profile}}
Canada {{CPC profile}} P10929: Canadian Paralympic Committee athlete ID
Czech Republic {{CPV profile}} P12673: Czech Paralympic Committee athlete ID
France {{CPSF profile}} P8797: French Paralympic Committee athlete ID
France {{Team France}} P11934: Team France athlete ID
Germany {{Team Deutschland Paralympics}} P9814: Team Deutschland Paralympics athlete ID
Great Britain {{BPA profile}} P10971: British Paralympic Association athlete ID
Italy {{CIP profile}} P12133: Italian Paralympic Committee athlete ID
Netherlands {{TeamNL profile}} P9822: TeamNL athlete ID number (archived)
New Zealand {{Paralympics New Zealand}} P10977: Paralympics New Zealand athlete ID
Poland {{PKPar profile}} P11032: Polish Paralympic Committee athlete ID
Slovakia {{SPV profile}} P12672: Slovak Paralympic Committee athlete ID
Spain {{CPE profile}} P4593: Spanish Paralympic Committee athlete ID (archived)
Turkey {{TMPK profile}} P11017: Turkish National Paralympic Committee athlete ID
United States {{Team USA}} P13540: TeamUSA.com athlete ID
P4063: TeamUSA.org athlete ID (archived)
[edit]