Template:IPC athlete/sandbox
{{{name}}} at the International Paralympic Committee
This is the template sandbox page for Template:IPC athlete (diff). |
This template is used on approximately 3,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Template:IPC athlete displays an external link to an athlete's International Paralympic Committee (IPC) profile at Paralympic.org and/or IPC.InfostradaSports.com. It is intended for use in the external links section of an article.
Usage
[edit]- One link (using article name)
{{IPC athlete | ID }}
{{IPC athlete | id= ID }}
{{IPC athlete | old_id= ID }}
{{IPC athlete | id2= ID }}
- One link (using name parameter)
{{IPC athlete | ID | NAME }}
{{IPC athlete | id= ID | name= NAME }}
{{IPC athlete | old_id= ID | name= NAME }}
{{IPC athlete | id2= ID | name2= NAME }}
- Two links (using article name)
{{IPC athlete | alpha ID | id2= numeric ID }}
{{IPC athlete | alpha ID | old_id= numeric ID }}
{{IPC athlete | id= alpha ID | old_id= numeric ID }}
{{IPC athlete | id= alpha ID | id2= numeric ID }}
- Two links (using name parameter)
{{IPC athlete | alpha ID | NAME | id2= numeric ID }}
{{IPC athlete | alpha ID | NAME | old_id= numeric ID }}
{{IPC athlete | id= alpha ID | name= NAME | old_id= numeric ID }}
{{IPC athlete | id= alpha ID | name= NAME | id2= numeric ID }}
- Two links (using name & name2 parameters)
{{IPC athlete | alpha ID | NAME | id2= numeric ID | name2= NAME2 }}
{{IPC athlete | id= alpha ID | name= NAME | id2= numeric ID | name2= NAME2 }}
- Using Wikidata properties P7550 and/or P4397
{{IPC athlete}}
{{IPC athlete | name= NAME }}
{{IPC athlete | name= NAME | name2= NAME2 }}
Examples
[edit]One link (alpha ID)
[edit]- Usage
* {{IPC athlete | ibrahim-hamadtou | Ibrahim Hamadtou }}
* {{IPC athlete | id= ibrahim-hamadtou | name= Ibrahim Hamadtou }}
- Output
One link (numeric ID)
[edit]- Usage
* {{IPC athlete | old_id= 1519547 | name= Leilia Adzhametova }}
* {{IPC athlete | id2= 1519547 | name2= Leilia Adzhametova }}
- Output
-
- Leilia Adzhametova at IPC.InfostradaSports.com (archived)
- Leilia Adzhametova at IPC.InfostradaSports.com (archived)
- Former URLs
- http://ipc.infostradasports.com/asp/lib/TheASP.asp?pageid=8937&sportid=-1&personid=1519547 (archive 2022-08-14)
- http://ipc.infostradasports.com/asp/redirect/ipc.asp?page=athletebio&personid=1519547 (redirect)
- https://www.paralympic.org/asp/lib/TheASP.asp?pageid=8937&sportid=513&personid=1519547 (archive 2018-04-04)
- https://www.paralympic.org/asp/redirect/ipc.asp?page=athletebio&personid=1519547 (redirect)
Two links (same names)
[edit]- Usage
* {{IPC athlete|henry-kirwa|Henry Kirwa|old_id=966378}}
* {{IPC athlete|id=henry-kirwa|name=Henry Kirwa|id2=966378}}
- Output
-
- Henry Kirwa at the International Paralympic Committee
- Henry Kirwa at IPC.InfostradaSports.com (archived)
- Henry Kirwa at the International Paralympic Committee
- Henry Kirwa at IPC.InfostradaSports.com (archived)
- URL for alpha ID
- https://www.paralympic.org/henry-kirwa
- Former URLs for numeric ID
- http://ipc.infostradasports.com/asp/lib/TheASP.asp?pageid=8937&sportid=-1&personid=966378 (archive 2021-08-18)
- http://ipc.infostradasports.com/asp/redirect/ipc.asp?page=athletebio&personid=966378 (redirect)
- https://www.paralympic.org/asp/lib/TheASP.asp?pageid=8937&sportid=-1&personid=966378 (archive 2018-07-29)
- https://www.paralympic.org/asp/redirect/ipc.asp?page=athletebio&personid=966378 (redirect)
Two links (different names)
[edit]- Usage
* {{IPC athlete|matthew-walker|Matthew Walker|id2=439975|name2=Matt Walker}}
* {{IPC athlete|id=matthew-walker|name=Matthew Walker|id2=439975|name2=Matt Walker}}
- Output
-
- Matthew Walker at the International Paralympic Committee
- Matt Walker at IPC.InfostradaSports.com (archived)
- Matthew Walker at the International Paralympic Committee
- Matt Walker at IPC.InfostradaSports.com (archived)
No parameters and Wikidata property not defined
[edit]- Usage
* {{IPC athlete}}
- Output
-
- {{IPC athlete}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for IPC athlete
This template displays an external link to an athlete's International Paralympic Committee (IPC) profile at Paralympic.org and/or IPC.InfostradaSports.com. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The non-numeric ID for the profile at paralympic.org, such as matthew-walker in https://www.paralympic.org/matthew-walker.
| String | optional |
Name | name 2 | The link text for the profile associated with "id" parameter. It defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".
| String | optional |
ID2 | id2 old_id | The numeric ID for the profile at ipc.infostradasports.com, such as 439975 in http://ipc.infostradasports.com/asp/lib/TheASP.asp?pageid=8937&sportid=-1&personid=439975. It is also known as "old_id" since it was formerly used at paralympic.org (see examples in template documentation).
| Number | optional |
Name2 | name2 | The link text for the profile associated with "id2" or "old_id". It defaults the same value as the "name" parameter (or the Wikipedia article name without disambiguation).
| String | optional |
Tracking categories
[edit]- missing ID and not in Wikidata properties P7550 or P4397
- Category:IPC athlete template missing ID and not in Wikidata (0)
- non-numeric ID in
|id=
or|1=
not found in P7550 - Category:IPC athlete template with ID different from Wikidata (7)
- Category:IPC athlete template with ID not in Wikidata (1)
- numeric ID in
|old_id=
,|id2=
,|id=
or|1=
not found in P4397 - For
|old_id=
or|id2=
, template removes "&" and anything after it before comparison with Wikidata - 686830&WinterGames=-1 → 686830
- 686830 → 686830
- Category:IPC athlete template with numeric ID different from Wikidata (0)
- Category:IPC athlete template with numeric ID not in Wikidata (0)
- only has non-numeric ID (Paralympic.org)
- Category:IPC athlete template using only non-numeric ID (2,746)
- Category:IPC athlete template using only non-numeric ID from Wikidata (232)
- only has numeric ID (IPC.InfostradaSports.com)
- Category:IPC athlete template using only numeric ID (0)
- Category:IPC athlete template using only numeric ID from Wikidata (0)
See also
[edit]- {{Olympics.com profile}} for athlete profiles from the International Olympic Committee
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) |
External links
[edit]- Athlete search at Paralympic.org
- Athlete search at IPC.InfostradaSports.com at the Wayback Machine (archived 2022-10-17)
- List of athletes at IPC.InfostradaSports.com at the Wayback Machine (archived 2021-09-20)