الگو: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:

Lasha Talakhadze در فدراسیون جهانی وزنه‌برداری

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:

Tatiana Kashirina در فدراسیون جهانی وزنه‌برداری

No parameters and Wikidata property not defined[ویرایش]

Usage:

{{IWF}}

Output:

{{IWF}} template missing ID and not present in Wikidata.

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 نشانی وب 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[ویرایش]

این، توضیحاتِ الگوداده است که توسط TemplateWizard، ویرایشگر دیداری و دیگر ابزارها استفاده می‌شود. گزارش خطای ماهیانه برای این الگو را ببینید.

الگوداده 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.

پارامترهای الگو[ویرایش داده‌های الگو]

پارامترتوضیحاتنوعوضعیت
idid 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.

پیش‌فرض
Wikidata property P3667
شمارهاختیاری
namename 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)".

پیش‌فرض
{{PAGENAMEBASE}}
رشتهاختیاری

External links[ویرایش]