Template:IWF
{{{name}}} at the International Weightlifting Federation
This template uses Lua: |
Template:IWF displays an external link to a weightlifter's results page from the International Weightlifting Federation (IWF), the international governing body for the sport of weightlifting. It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
{{IWF | ID }}
{{IWF | ID | NAME }}
- Named parameters
{{IWF |id= ID }}
{{IWF |id= ID |name= NAME }}
{{IWF |id= ID |name= NAME |athlete= last-first-yyyy-mm-dd }}
{{IWF |id= ID |name= NAME |athlete= last-first-yyyy-mm-dd |archive= yyyymmddhhmmss }}
- Using Wikidata property
{{IWF}}
{{IWF |name= NAME }}
Examples
ID in template
- Usage in the article Tatiana Kashirina
* {{IWF | 3465 }}
* {{IWF |id= 3465 |athlete= kashirina-tatiana-1991-01-24 }}
* {{IWF |id= 3465 |athlete= kashirina-tatiana-1991-01-24 |archive= 20210621200452 }}
- Output
- URLs with ID only
- https://iwf.sport/weightlifting_/athletes-bios/?athlete=&id=3465 (current URL)
- https://www.iwf.net/results/athletes/?athlete=&id=3465 (former redirect to current URL)
- https://www.iwf.net/new_bw/athletes_newbw/athletes/?athlete=&id=3465
- https://www.iwf.net/new_bw/athletes_newbw/?athlete=&id=3465
- URLs with ID and name
- https://iwf.sport/weightlifting_/athletes-bios/?athlete=kashirina-tatiana-1991-01-24&id=3465 (current URL)
- https://www.iwf.net/results/athletes/?athlete=kashirina-tatiana-1991-01-24&id=3465 (former redirect to current URL)
- https://www.iwf.net/new_bw/athletes_newbw/athletes/?athlete=kashirina-tatiana-1991-01-24&id=3465
- https://www.iwf.net/new_bw/athletes_newbw/?athlete=kashirina-tatiana-1991-01-24&id=3465
ID in Wikidata
- Usage in the article Lasha Talakhadze
* {{IWF}}
- Output
No parameters and Wikidata property not defined
- Usage
* {{IWF}}
- Output
-
- {{IWF}} template missing ID and not present in Wikidata.
Instructions
- Search for an athlete at the IWF website.
- Click on the correct link to go to the weightlifter's page
- The page URL should look like
https://iwf.sport/weightlifting_/athletes-bios/?athlete=last-first-yyyy-mm-dd&id=nnnnn
- where
nnnnn
indicates the ID number for a specific weightlifter (required) - and
last-first-yyyy-mm-dd
indicates the weightlifter's name and date of birth (optional)
TemplateData
TemplateData for IWF
This template displays an external link to a weightlifter's results page from the International Weightlifting Federation (IWF), the international governing body for the sport of weightlifting. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | The "id" portion a URL such as https://iwf.sport/weightlifting_/athletes-bios/?athlete=kashirina-tatiana-1991-01-24&id=3465.
| 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 |
athlete | athlete | The "athlete" portion of a URL such as https://iwf.sport/weightlifting_/athletes-bios/?athlete=kashirina-tatiana-1991-01-24&id=3465.
| String | optional |
archive | archive | Adds an archived link for the former URL at iwf.net (see examples). It should contain a number representing the date/time from an Internet Archive URL such as https://web.archive.org/web/20210621200452/https://www.iwf.net/results/athletes/?athlete=kashirina-tatiana-1991-01-24&id=3465.
| Number | optional |
Tracking category
- Category:IWF template using archive parameter (23)
- Category:IWF template with ID different from Wikidata (1)
- Category:IWF template with ID not in Wikidata (7)
- Category:IWF template missing ID and not in Wikidata (0)