Template:WPBSA player
{{{name}}} at WPBSA
| This template uses Lua: |
Template:WPBSA player displays an external link to a snooker player's page at the World Professional Billiards and Snooker Association's WPBSA.com website. It is intended for use in the external links section of an article.
Usage
[edit]Omit the ID to use the Wikidata property.
- Article name as link text
* {{WPBSA player | ID }}* {{WPBSA player |id= ID }}* {{WPBSA player | ID |archive= NUMBER }}* {{WPBSA player |id= ID |archive= NUMBER }}
- Parameter as link text
* {{WPBSA player | ID | NAME }}* {{WPBSA player |id= ID |name= NAME }}* {{WPBSA player | ID | NAME |archive= NUMBER }}* {{WPBSA player |id= ID |name= NAME |archive= NUMBER }}
Examples
[edit]Article name as link text
[edit]- Usage in Mark Allen (snooker player)
* {{WPBSA player | mark-allen }}* {{WPBSA player |id= mark-allen }}
- Output
- Mark Allen at WPBSA
Parameter as link text
[edit]- Usage
* {{WPBSA player | reanne-evans | Reanne Evans }}* {{WPBSA player |id= reanne-evans |name= Reanne Evans }}
- Output
Archived link
[edit]- Usage
* {{WPBSA player | andrew-higginson | Andrew Higginson |archive= 20250429031805 }}* {{WPBSA player |id= andrew-higginson |name= Andrew Higginson |archive= 20250429031805 }}
- Output
- Andrew Higginson at WPBSA (archived)
- Former URL
- https://wpbsa.com/player/andrew-higginson/
No parameters and Wikidata property not defined
[edit]- Usage
* {{WPBSA player}}
- Output
- {{WPBSA player}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for WPBSA player
This template displays an external link to a snooker player's page at the World Professional Billiards and Snooker Association's WPBSA.com 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 player URL, such https://wpbsa.com/player/mark-allen/. This parameter is optional if Wikidata property 13285 exists, but required if not.
| String | optional |
| Name | name 2 | The link text, which should be the name of the player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(snooker player)".
| String | optional |
| Internet Archive Date/Time | archive | For archived links, a number representing the date/time in an Internet Archive URL such as https://web.archive.org/web/20250429031805/https://wpbsa.com/player/andrew-higginson/.
| Number | optional |
See also
[edit]- {{WPBSA SnookerScores player}}
- {{WST player}}