الگو:BWF2/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد

الگو:BWF2 displays an external link to a بدمینتون player's profile at BWFbadminton.com, an official website of the فدراسیون جهانی بدمینتون (BWF). It is intended for use in the ویکی‌پدیا:پیوند به بیرون section of an article.

Usage[ویرایش]

Unnamed parameters:

{{BWF2 | ID }}
{{BWF2 | ID | NAME }}

Named parameters:

{{BWF2 | id= ID }}
{{BWF2 | id= ID | name= NAME }}

Using ویکی‌داده property P3620:

{{BWF2}}
{{BWF2 | name= NAME }}

Examples[ویرایش]

Unnamed parameters[ویرایش]

URL:

http://bwfbadminton.com/player/64643/li-xuerui

Usage:

{{BWF2 | 64643/li-xuerui | Li Xuerui }}

Output:

Li Xuerui در فدراسیون جهانی بدمینتون

Named parameters[ویرایش]

URL:

http://bwfbadminton.com/player/50906/lin-dan

Usage:

{{BWF2 |id= 50906/lin-dan |name= Lin Dan }}

Output:

Lin Dan در فدراسیون جهانی بدمینتون

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

Usage:

{{BWF2}}

Output:

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

TemplateData[ویرایش]

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

الگوداده BWF2

This template displays an external link to a badminton player's profile at BWFbadminton.com, an official website of the Badminton World Federation (BWF). 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: 64643/li-xuerui is the ID portion of http://bwfbadminton.com/player/64643/li-xuerui. This parameter is optional if Wikidata property P3620 exists, but required if not.

پیش‌فرض
Wikidata property P3620
رشتهاختیاری
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the badminton player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(badminton)".

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

Tracking categories[ویرایش]

"id" parameter exists
"id" parameter does not exist

See also[ویرایش]

  • {{BWF}} – generates an external link to a player's profile at BWFbadminton.org

پیوندهای به بیرون[ویرایش]