Template:BWFBadminton.com profile/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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.

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 }}
Output
URLs
https://bwfbadminton.com/player/64643
https://bwfbadminton.com/player/64643/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
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

TemplateData

[edit source]
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 source]
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 source]
[edit source]