Jump to content

Template:IPC athlete/doc

From Wikipedia, the free encyclopedia

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]
[edit]
Usage
* {{IPC athlete | ibrahim-hamadtou | Ibrahim Hamadtou }}
* {{IPC athlete | id= ibrahim-hamadtou | name= Ibrahim Hamadtou }}
Output
URL
https://www.paralympic.org/ibrahim-hamadtou
[edit]
Usage
* {{IPC athlete | old_id= 1519547 | name= Leilia Adzhametova }}
* {{IPC athlete | id2= 1519547 | name2= Leilia Adzhametova }}
Output
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)
[edit]
Usage
* {{IPC athlete|henry-kirwa|Henry Kirwa|old_id=966378}}
* {{IPC athlete|id=henry-kirwa|name=Henry Kirwa|id2=966378}}
Output
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)
[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

No parameters and Wikidata property not defined

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

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:IPC athlete in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The non-numeric ID for the profile at paralympic.org, such as matthew-walker in https://www.paralympic.org/matthew-walker.

Default
Wikidata properties P7550
Example
matthew-walker
Stringoptional
Namename 2

The link text for the profile associated with "id" parameter. It defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Example
Matthew Walker
Stringoptional
ID2id2 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).

Default
Wikidata property P4397
Example
439975
Numberoptional
Name2name2

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).

Default
{{PAGENAMEBASE}}
Example
Matt Walker
Stringoptional

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 (11)
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,741)
Category:IPC athlete template using only non-numeric ID from Wikidata (231)
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]

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]