Template:IWRP
{{{name}}} at the International Weightlifting Results Project (archived former page)
IWRP athlete ID (P4504) (see uses)
| This template uses Lua: |
Template:IWRP displays an external link to a weightlifter's page at the International Weightlifting Results Project (IWRP.net). It is intended for use in the external links section of an article.
Usage
[edit]Omit the ID to use the Wikidata property.
- Article name as link text
{{IWRP | ID }}{{IWRP | id= ID }}
- Parameter as link text
{{IWRP | ID | NAME }}{{IWRP | id= ID | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{IWRP | 10996 | Chen Shih-Chieh }}
- Output
- Chen Shih-Chieh at the International Weightlifting Results Project (archived former page)
- Current URLs
- https://iwrp.net/public/zawodnik/10996-chen-shih-chieh (at website)
- https://iwrp.net/public/zawodnik/10996-name (in template, redirects to URL above)
Named parameters
[edit]Usage:
* {{IWRP | id= 36018 | name= Anastasija Hotfrid }}
Output:
- Anastasija Hotfrid at the International Weightlifting Results Project (archived former page)
- Current URLs
- https://iwrp.net/public/zawodnik/36018-hotfrid-anastasija (at website)
- https://iwrp.net/public/zawodnik/36018-name (in template, redirects to URL above)
No parameters and Wikidata property not defined
[edit]Usage:
* {{IWRP}}
Output:
- {{IWRP}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for IWRP
This template displays an external link to a weightlifter's page at the International Weightlifting Results Project (IWRP.net). It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The ID number in the URL, such as 10996 in https://iwrp.net/public/zawodnik/10996-chen-shih-chieh (formerly http://iwrp.net/?view=contestant&id_zawodnik=10996 or http://iwrp.net/component/cwyniki/?view=contestant&id_zawodnik=10996). This parameter is optional if Wikidata property P4504 exists, but required if not.
| Number | optional |
| Name | name 2 | 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 "(weightlifter)".
| String | optional |
See also
[edit]- Template:IWF for link to weightlifter's page at the International Weightlifting Federation