![]() | This is a documentation subpage for Template:BWF2. It may contain usage information, categories and other content that is not part of the original template page. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/d/d2/Wikidata-logo-without-paddings.svg/30px-Wikidata-logo-without-paddings.svg.png)
![]() | This template uses Lua: |
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 }}
Examples
editUnnamed parameters
edit- Usage
* {{BWF2 | 64643 | Li Xuerui }}
* {{BWF2 | 64643/li-xuerui | Li Xuerui }}
- Output
Named parameters
edit- Usage
* {{BWF2 |id= P94710 |name= Karin Suter-Erath }}
* {{BWF2 |id= P94710/karin-suter-erath |name= Karin Suter-Erath }}
No parameters and Wikidata property not defined
edit- Usage
* {{BWF2}}
- Output
-
- {{BWF2}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 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.
| String | optional |
name | name 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)".
| String | optional |
Tracking categories
edit- template with ID
- Category:BWF2 template with ID different from Wikidata (130)
- Category:BWF2 template with ID not in Wikidata (2)
- template missing ID
See also
edit- {{BWF}} – generates an external link to a player's profile at BWF.tournamentsoftware.com
External links
edit