الگو:IWF
{{{name}}} در فدراسیون جهانی وزنهبرداری
این الگو از یک ویژگی ویکیداده استفاده میکند:
|
این الگو از لوآ استفاده میکند: |
الگو:IWF displays an external link to a weightlifter's results page from the فدراسیون جهانی وزنهبرداری (IWF), the international governing body for the sport of وزنهبرداری. It is intended for use in the ویکیپدیا:پیوند به بیرون section of an article.
Usage[ویرایش]
Unnamed parameters:
{{IWF | ID }}
{{IWF | ID | NAME }}
Named parameters:
{{IWF | id= ID }}
{{IWF | id= ID | name= NAME }}
Using ویکیداده property P3667:
{{IWF}}
{{IWF | name= NAME }}
Examples[ویرایش]
Unnamed parameters[ویرایش]
URLs:
- http://www.iwf.net/results/athletes/?athlete=talakhadze-lasha-1993-10-02&id=5042
- http://www.iwf.net/results/athletes/?athlete=&id=5042
Usage:
{{IWF | 5042 | Lasha Talakhadze }}
Output:
Named parameters[ویرایش]
URLs:
- http://www.iwf.net/results/athletes/?athlete=kashirina-tatiana-1991-01-24&id=3465
- http://www.iwf.net/results/athletes/?athlete=&id=3465
Usage:
{{IWF | id= 3465 | name= Tatiana Kashirina }}
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 نشانی وب should look like
https://www.iwf.net/results/athletes/?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 (not required)
TemplateData[ویرایش]
الگوداده 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.
پارامتر | توضیحات | نوع | وضعیت | |
---|---|---|---|---|
id | id 1 | The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 5042 is the ID portion of http://www.iwf.net/results/athletes/?athlete=talakhadze-lasha-1993-10-02&id=5042. This parameter is optional if Wikidata property P3667 exists, but required if not.
| شماره | اختیاری |
name | name 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 "(weightlifter)".
| رشته | اختیاری |