الگو:IWF/توضیحات
![]() | این زیرصفحهٔ مستندات الگو:IWF است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | این الگو از لوآ استفاده میکند: |
الگو: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)".
| رشته | اختیاری |
External links
ویرایش