Jump to content

Template:USOPC profile/doc

From Wikipedia, the free encyclopedia

Template:USOPC profile displays an external link to an athlete's profile at TeamUSA.org, the official website of the United States Olympic & Paralympic Committee (USOPC). It is intended for use in the external links section of an article.

Usage

[edit]
Named parameters (current URL)
{{USOPC profile |new_id= ID }}
{{USOPC profile |new_id= ID |name= NAME }}
{{USOPC profile |new_id= ID |name= NAME |old_id= ID }}
{{USOPC profile |new_id= ID |name= NAME |old_id= ID |archive= NUMBER }}
{{USOPC profile |new_id= ID |name= NAME |old_id= ID |sport= SPORT }}
{{USOPC profile |new_id= ID |name= NAME |old_id= ID |sport= SPORT |archive= NUMBER }}
Named parameters (former URL)
{{USOPC profile |id= ID }}
{{USOPC profile |id= ID |name= NAME }}
{{USOPC profile |id= ID |name= NAME |sport= SPORT }}
{{USOPC profile |id= ID |name= NAME |sport= SPORT |archive= NUMBER }}
Unnamed parameters (former URL)
{{USOPC profile | ID }}
{{USOPC profile | ID | NAME }}
{{USOPC profile | ID | NAME | SPORT }}
Using Wikidata property P4063 (former URL)
{{USOPC profile}}
{{USOPC profile |name= NAME }}
{{USOPC profile |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
* {{USOPC profile|new_id=john-shuster-810650|name=John Shuster}}
* {{USOPC profile|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
* {{USOPC profile | SH/John-Shuster | John Shuster }}
* {{USOPC profile |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
* {{USOPC profile | John-Shuster | John Shuster | USA-Curling }}
* {{USOPC profile |id= john-shuster |name= John Shuster |sport= usa-curling |archive= 20230531172001 }}
Output

Current and Former URLs

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

No parameters and Wikidata property not defined

[edit]
Usage
* {{USOPC profile}}
Output
  • {{USOPC profile}} 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:USOPC profile in articles based on its TemplateData.

TemplateData for USOPC profile

This template displays an external link to an athlete's profile at TeamUSA.org, the official website of the United States Olympic & Paralympic Committee (USOPC). 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 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 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 not using new ID in template
tracking usage of parameters associated with former ID in template
tracking former ID in Wikidata property Team USA athlete former ID (archived) (P4063)

See also

[edit]

Olympic profile templates

[edit]
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
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)

Paralympic profile templates

[edit]
Country Template Wikidata property
{{IPC athlete}} 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 and Sports Committee athlete ID
France {{Team France}} P11934: Team France athlete ID
Germany {{TDP profile}} 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 {{USOPC profile}} P4063: Team USA athlete former ID (archived)
[edit]