الفرق بين النسختين بتاع: «قالب:BWF2/doc»

تم حذف المحتوى تمت إضافة المحتوى
create documentation
(لا فرق)

تعديلات من 04:14، 11 يوليه 2016

قالب:BWF2 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.

Usage

Unnamed parameters:

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

Named parameters:

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

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:BWF2 in articles based on its TemplateData.

TemplateData for 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 for the badminton player's profile at BWFbadminton.com. Example: 64643/li-xuerui is the ID portion of http://bwfbadminton.com/player/64643/li-xuerui.

نصمطلوب
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}}
نصاختياري

.

Examples

Unnamed parameters

Li Xuerui

URL:

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

Usage:

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

Output:

Li Xuerui at BWFbadminton.com

Named parameters

Lin Dan

URL:

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

Usage:

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

Output:

Lin Dan at BWFbadminton.com