Template:IPC athlete

From blackwiki
Revision as of 11:28, 17 January 2021 by imported>ProcrastinatingReader (Updating TFD template: discussion was relisted (XFDcloser))
Jump to navigation Jump to search

Template:Tfm/dated {{{name}}} at the International Paralympic Committee

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:IPC athlete displays an external link to an athlete's International Paralympic Committee (IPC) profile at Paralympic.org or IPC.InfostradaSports.com. It is intended for use in the external links section of an article.

Usage

Unnamed parameters:

{{IPC athlete | ID }}
{{IPC athlete | ID | NAME }}

Named parameters:

{{IPC athlete | id= ID }}
{{IPC athlete | id= ID | name= NAME }}
{{IPC athlete | id= alpha ID | old_id= numeric ID | name= NAME }}

Using Wikidata properties Template:Property or Template:Property:

{{IPC athlete}}
{{IPC athlete | name= NAME }}

Examples

Unnamed parameters

Usage:

* {{IPC athlete | leilia-adzhametova | Leilia Adzhametova }}
* {{IPC athlete | 1519547 | Leilia Adzhametova }}

Output:

Leilia Adzhametova at the International Paralympic Committee

Leilia Adzhametova at the International Paralympic Committee

Current URLs:

https://www.paralympic.org/leilia-adzhametova
http://ipc.infostradasports.com/asp/lib/TheASP.asp?pageid=8937&sportid=-1&personid=1519547
http://ipc.infostradasports.com/asp/redirect/ipc.asp?page=athletebio&personid=1519547 (redirect)

Former URLs:

https://www.paralympic.org/asp/lib/TheASP.asp?pageid=8937&sportid=-1&personid=1519547 (archive)
https://www.paralympic.org/asp/redirect/ipc.asp?page=athletebio&personid=1519547 (redirect)

Named parameters

Usage:

* {{IPC athlete |id= henry-kirwa |name= Henry Kirwa }}
* {{IPC athlete |id= 966378 |name= Henry Kirwa }}
* {{IPC athlete |id= henry-kirwa |old_id= 966378 |name= Henry Kirwa }}

Output:

Henry Kirwa at the International Paralympic Committee

Henry Kirwa at the International Paralympic Committee

Henry Kirwa at the International Paralympic Committee (also here)

Current URLs:

https://www.paralympic.org/henry-kirwa
http://ipc.infostradasports.com/asp/lib/TheASP.asp?pageid=8937&sportid=-1&personid=966378
http://ipc.infostradasports.com/asp/redirect/ipc.asp?page=athletebio&personid=966378 (redirect)

Former URLs:

https://www.paralympic.org/asp/lib/TheASP.asp?pageid=8937&sportid=-1&personid=966378 (archive)
https://www.paralympic.org/asp/redirect/ipc.asp?page=athletebio&personid=966378 (redirect)

No parameters and Wikidata property not defined

Usage:

* {{IPC athlete}}

Output:

Template:PAGENAMEBASE at the International Paralympic CommitteeScript error: No such module "EditAtWikidata". (also here)

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for IPC athlete

This template displays an external link to an athlete's International Paralympic Committee (IPC) profile at Paralympic.org or IPC.InfostradaSports.com. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the. Examples: leilia-adzhametova is the ID portion of https://www.paralympic.org/leilia-adzhametova. The template also supports the old numeric ID in this field (see below). This parameter is optional if Wikidata properties P7550 or P4397 exist, but required if not.

Default
Wikidata properties P7550 or P4397
Stringoptional
old_idold_id

The "id" parameter (or unnamed parameter "1") should contain the numeric ID. Examples: 1519547 is the ID portion of http://ipc.infostradasports.com/asp/lib/TheASP.asp?pageid=8937&sportid=-1&personid=1519547. This parameter is optional.

Default
Wikidata property P4397
Numberoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(athlete)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking category

See also

External links