Template:BWFBadminton.com profile/doc
| icon | 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. |
| File:Lua-Logo.svg | 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 source]Omit the ID to use the Wikidata property.
- Article name as link text
{{BWFBadminton.com profile | ID }}{{BWFBadminton.com profile | id= ID }}
- Parameter as link text
{{BWFBadminton.com profile | ID | NAME }}{{BWFBadminton.com profile | id= ID | name= NAME }}
Examples
[edit source]Unnamed parameters
[edit source]- Usage
* {{BWFBadminton.com profile | 64643 | Li Xuerui }}* {{BWFBadminton.com profile | 64643/li-xuerui | Li Xuerui }}
Named parameters
[edit source]- 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 source]- Usage
* {{BWFBadminton.com profile}}
- Output
-
- BWFBadminton.com profile/doc at BWFBadminton.comLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]TemplateData 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 source]- template with ID
- any trailing text starting with
/is removed from ID before comparison with Wikidata 64643/li-xuerui→64643P94710/karin-suter-erath→P94710
- Category:BWFBadminton.com template with ID different from Wikidata (0)
- Category:BWFBadminton.com template with ID not in Wikidata (0)
- template missing ID
See also
[edit source]- {{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 source]