This is a documentation subpage for Template:BWFBadminton.com profile. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:BWFBadminton.com profile displays an external link to a badminton or para-badminton player's profile at BWFBadminton.com, an official Badminton World Federation (BWF) website. It is intended for use in the external links section of an article.
Usage
edit- Unnamed parameters
{{BWFBadminton.com profile | ID }}
{{BWFBadminton.com profile | ID | NAME }}
- Named parameters
{{BWFBadminton.com profile | id= ID }}
{{BWFBadminton.com profile | id= ID | name= NAME }}
- Using Wikidata property P3620: BWFBadminton.com player ID
{{BWFBadminton.com profile}}
{{BWFBadminton.com profile | name= NAME }}
Examples
editUnnamed parameters
edit- Usage
* {{BWFBadminton.com profile | 64643 | Li Xuerui }}
* {{BWFBadminton.com profile | 64643/li-xuerui | Li Xuerui }}
Named parameters
edit- Usage
* {{BWFBadminton.com profile |id= P94710 |name= Karin Suter-Erath }}
* {{BWFBadminton.com profile |id= P94710/karin-suter-erath |name= Karin Suter-Erath }}
- Output
-
- Karin Suter-Erath at BWFBadminton.com
- Karin Suter-Erath at BWFBadminton.com
- URLs
- https://bwfbadminton.com/player/P94710
- https://bwfbadminton.com/player/P94710/karin-suter-erath
No parameters and Wikidata property not defined
edit- Usage
* {{BWFBadminton.com profile}}
- Output
-
- {{BWFBadminton.com profile}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for BWFBadminton.com profile
This template displays an external link to a badminton or para-badminton player's profile at BWFBadminton.com, an official Badminton World Federation (BWF) website. 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. An ID for a para-badminton player starts with a P, such as P94710 or P94710/karin-suter-erath in https://bwfbadminton.com/player/P94710/karin-suter-erath. 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 or para-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
- any trailing text starting with
/
is removed from ID before comparison with Wikidata 64643/li-xuerui
→64643
P94710/karin-suter-erath
→P94710
- Category:BWFBadminton.com template with ID different from Wikidata (0)
- Category:BWFBadminton.com template with ID not in Wikidata (4)
- template missing ID
See also
edit- {{BWF.TournamentSoftware.com profile}} – badminton player profile at BWF.TournamentSoftware.com
- {{BWFPara.TournamentSoftware.com profile}} – para-badminton player profile at BWFPara.TournamentSoftware.com
External links
edit