Template:USOPC profile/doc
![]() | This is a documentation subpage for Template:USOPC profile. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | This template uses Lua: |
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
-
- John Shuster at Team USA (archived)
- John Shuster at Team USA (archived August 23, 2022)
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
-
- John Shuster at Team USA (archived)
- John Shuster at Team USA (archived May 31, 2023)
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]Paralympic sport | Example URL (archived) |
---|---|
Paralympics | https://www.teamusa.org/us-paralympics/athletes/andrew-jenks |
Para Alpine Skiing | https://www.teamusa.org/para-alpine-skiing/athletes/stephani-victor |
Para Archery | https://www.teamusa.org/para-archery/athletes/eric-bennett |
Para Boccia | https://www.teamusa.org/para-boccia/athletes/austin-hanson |
Para Cycling | https://www.teamusa.org/para-cycling/athletes/matt-updike |
Para Equestrian | https://www.teamusa.org/para-equestrian/athletes/robin-brueckmann |
Para Fencing | https://www.teamusa.org/para-fencing/athletes/mark-calhoun |
Para Goalball | https://www.teamusa.org/para-goalball/athletes/jen-armbruster |
Para Judo | https://www.teamusa.org/para-judo/athletes/katie-davis |
Para Nordic Skiing | https://www.teamusa.org/para-nordic-skiing/athletes/sawyer-kesselheim |
Para Powerlifting | https://www.teamusa.org/para-powerlifting/athletes/jacob-schrom |
Para Rowing | https://www.teamusa.org/para-rowing/athletes/scott-brown |
Para Sailing | https://www.teamusa.org/para-sailing/athletes/tim-angle |
Para Shooting | https://www.teamusa.org/para-shooting/athletes/michael-dickey |
Para Sitting Volleyball | https://www.teamusa.org/para-sitting-volleyball/athletes/allison-aldrich |
Para Sled Hockey | https://www.teamusa.org/para-sled-hockey/athletes/michael-blabac |
Para Snowboarding | https://www.teamusa.org/para-snowboarding/athletes/heidi-duce |
Para Soccer | https://www.teamusa.org/para-soccer/athletes/chris-ahrens |
Para Swimming | https://www.teamusa.org/para-swimming/athletes/anna-eames |
Para Table Tennis | https://www.teamusa.org/usa-table-tennis/athletes/mitch-seidenfeld |
Para Track and Field | https://www.teamusa.org/para-track-and-field/athletes/jerome-avery |
Paratriathlon | https://www.teamusa.org/usa-triathlon/athletes/melissa-stockwell |
Para Wheelchair Basketball | https://www.teamusa.org/para-wheelchair-basketball/athletes/patty-cisneros |
Para Wheelchair Curling | https://www.teamusa.org/usa-curling/athletes/meghan-lino |
Para Wheelchair Rugby | https://www.teamusa.org/para-wheelchair-rugby/athletes/bryan-kirkland |
Para Wheelchair Tennis | https://www.teamusa.org/para-wheelchair-tennis/athletes/beth-arnoult |
TemplateData
[edit]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Current ID for athlete | new_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.
| String | optional |
Former ID for athlete | id 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.
| String | optional |
Name | name 2 | The name of the athlete. If not given, it defaults to the Wikipedia article name without any disambiguation such as (athlete).
| String | optional |
Former ID for sport | sport 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.
| String | optional |
Archive | archive | 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.
| Number | optional |
Tracking categories
[edit]- tracking articles not using new ID in template
- tracking usage of parameters associated with former ID in template
- Category:USOPC profile template using sport parameter (160)
- Category:USOPC profile template using archive parameter (679)
- Category:USOPC profile template not using archive parameter (482)
- tracking former ID in Wikidata property Team USA athlete former ID (archived) (P4063)
- Category:USOPC profile template with ID different from Wikidata (0) – case insensitive, so SH/John-Shuster matches sh/john-shuster
- Category:USOPC profile template with ID not in Wikidata (0)
- Category:USOPC profile template missing ID and not in Wikidata (0)
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 | {{BOC 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 |
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 |
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 |
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 |
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) |
External links
[edit]- Athletes page at the Team USA website
- Athletes page at the Team USA website at the Wayback Machine (archived June 7, 2023)