Template:IWF/doc

It is intended for use in the external links section of an article.

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

ID in template

 * Usage in the article Tatiana Kashirina


 * 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


 * Output
 * OOjs UI icon edit-ltr-progressive.svg


 * URL
 * https://iwf.sport/weightlifting_/athletes-bios/?athlete=&id=5042

No parameters and Wikidata property not defined

 * Usage


 * Output

Instructions

 * 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
 * where  indicates the ID number for a specific weightlifter (required)
 * and  indicates the weightlifter's name and date of birth (optional)
 * and  indicates the weightlifter's name and date of birth (optional)

TemplateData
{ "description": "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.", "params": { "id": { "aliases": ["1"], "description": "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", "type": "number", "required": false },   "name": { "aliases": ["2"], "description": "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": "", "example": "Tatiana Kashirina", "type": "string", "required": false },   "athlete": { "description": "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", "type": "string", "required": false },   "archive": { "description": "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", "type": "number", "required": false } },  "paramOrder": [ "id", "name", "athlete", "archive" ] }