Jump to content

Template:BWFBadminton.com profile/doc

From Wikipedia, the free encyclopedia

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

[edit]

Unnamed parameters

[edit]
Usage
* {{BWFBadminton.com profile | 64643 | Li Xuerui }}
* {{BWFBadminton.com profile | 64643/li-xuerui | Li Xuerui }}
Output
URLs
https://bwfbadminton.com/player/64643
https://bwfbadminton.com/player/64643/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
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

TemplateData

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

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.

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

Default
Wikidata property P3620
Stringoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
template with ID
any trailing text starting with / is removed from ID before comparison with Wikidata
64643/li-xuerui64643
P94710/karin-suter-erathP94710
template missing ID

See also

[edit]
[edit]