Template:USOPC profile/doc

From English Wikipedia @ Freddythechick

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

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

Current URL

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)

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)

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

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

Usage
* {{USOPC profile}}
Output
  • {{USOPC profile}} template missing ID and not present in Wikidata.

Examples of former URLs for different sports

TemplateData

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

tracking articles not using new ID in template
tracking usage of parameters associated with former ID in template
tracking former ID in Wikidata property (P4063)

See also

Olympic profile templates

Country Template Wikidata property
{{Olympics.com profile}} P5815
Argentina {{COA profile}} P4065
Australia {{AOC profile}} P3682
Azerbaijan {{Olympic.az profile}} P10975
Belarus {{NOC Belarus}}
Belgium {{Team Belgium}} P10963
Brazil {{COB profile}} P4060
Canada {{Team Canada}} P4054
China {{Chinese Olympic Committee profile}} P4068
Croatia {{HOO profile}} P4541
Czech Republic {{COV profile}} P4062
Estonia {{ESBL profile}} P4042
Estonia {{EOK profile}}
Finland {{Olympiakomitea.fi}}
France {{CNOSF profile}} P4050
France {{Team France}} P11934
Germany {{DOSB profile}} P4053
Great Britain {{Team GB}} P4490
Greece {{HOC profile}} P4489
Hungary {{MOB profile}} P4066
Ireland {{OFI profile}} P10914
Israel {{OCI profile}} P9669
Italy {{CONI profile}} P4069
Japan {{JOC profile}}
Kazakhstan {{Olympic.kz profile}} P11024
Latvia {{LOK profile}} P2593
Lithuania {{LTOK profile}} P4061
Luxembourg {{COSL profile}} P12372
Morocco {{CNOM profile}} P11019
Netherlands {{TeamNL profile}} P9822
Netherlands {{NOCNSF profile}} P10957
New Zealand {{NZOC profile}} P4056
Norway {{Team Norway}}
Poland {{PKOl profile}} P6071
Qatar {{Team Qatar}}
Romania {{COSR profile}} P4067
Serbia {{OKS profile}} P10978
Singapore {{SNOC profile}} P10979
Slovakia {{SOSV profile}} P10647
Spain {{COE profile}} P8421
Sweden {{SOK profile}} P2323
Turkey {{TMOK profile}} P9973
Turkey {{Olimpedya}}
United States {{USOPC profile}} P4063

Paralympic profile templates

Country Template Wikidata property
{{IPC athlete}} P7550
Australia {{Paralympics Australia}} P10976
Canada {{CPC profile}} P10929
Czech Republic {{CPV profile}} P12673
France {{CPSF profile}} P8797
France {{Team France}} P11934
Germany {{TDP profile}} P9814
Great Britain {{BPA profile}} P10971
Italy {{CIP profile}} P12133
Netherlands {{TeamNL profile}} P9822
New Zealand {{Paralympics New Zealand}} P10977
Slovakia {{SPV profile}} P12672
Spain {{CPE profile}} P4593
Turkey {{TMPK profile}} P11017
United States {{USOPC profile}} P4063

External links