Jump to content

Template:IWF/doc

From Wikipedia, the free encyclopedia

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

[edit]
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

[edit]

ID in template

[edit]
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

[edit]
Usage in the article Lasha Talakhadze
* {{IWF}}
Output
URL
https://iwf.sport/weightlifting_/athletes-bios/?athlete=&id=5042

No parameters and Wikidata property not defined

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

Instructions

[edit]
  1. Search for an athlete at the IWF website.
  2. Click on the correct link to go to the weightlifter's page
  3. 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

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:IWF in articles based on its 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.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" portion a URL such as https://iwf.sport/weightlifting_/athletes-bios/?athlete=kashirina-tatiana-1991-01-24&id=3465.

Default
Wikidata property P3667
Example
3465
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Example
Tatiana Kashirina
Stringoptional
athleteathlete

The "athlete" portion of a URL such as https://iwf.sport/weightlifting_/athletes-bios/?athlete=kashirina-tatiana-1991-01-24&id=3465.

Example
kashirina-tatiana-1991-01-24
Stringoptional
archivearchive

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.

Example
20210621200452
Numberoptional

Tracking category

[edit]
[edit]