Template: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 edit

Unnamed parameters
{{BWF2 | ID }}
{{BWF2 | ID | NAME }}
Named parameters
{{BWF2 | id= ID }}
{{BWF2 | id= ID | name= NAME }}
Using Wikidata property P3620: BWFbadminton.com player ID
{{BWF2}}
{{BWF2 | name= NAME }}

Examples edit

Unnamed parameters edit

URL
https://bwfbadminton.com/player/64643
https://bwfbadminton.com/player/64643/li-xuerui
Usage
* {{BWF2 | 64643 | Li Xuerui }}
* {{BWF2 | 64643/li-xuerui | Li Xuerui }}
Output

Named parameters edit

URL
https://bwfbadminton.com/player/P94710
https://bwfbadminton.com/player/P94710/karin-suter-erath
Usage
* {{BWF2 |id= P94710 |name= Karin Suter-Erath }}
* {{BWF2 |id= P94710/karin-suter-erath |name= Karin Suter-Erath }}
Output

No parameters and Wikidata property not defined edit

Usage
* {{BWF2}}
Output
  • {{BWF2}} template missing ID and not present in Wikidata.

TemplateData edit

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.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID portion of the URL, such as 64643 or 64643/li-xuerui in https://bwfbadminton.com/player/64643/li-xuerui. This parameter is optional if Wikidata property P3620 exists, but required if not.

Default
Wikidata property P3620
Stringoptional
namename 2

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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories edit

template with ID
template missing ID

See also edit

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

External links edit