Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:WPBSA player/doc

From Wikipedia, the free encyclopedia

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
URL
https://wpbsa.com/player/mark-allen/
[edit]
Usage
* {{WPBSA player | reanne-evans | Reanne Evans }}
* {{WPBSA player |id= reanne-evans |name= Reanne Evans }}
Output
URL
https://wpbsa.com/player/reanne-evans/
[edit]
Usage
* {{WPBSA player | andrew-higginson | Andrew Higginson |archive= 20250429031805 }}
* {{WPBSA player |id= andrew-higginson |name= Andrew Higginson |archive= 20250429031805 }}
Output
Former URL
https://wpbsa.com/player/andrew-higginson/
Archived former URL
https://web.archive.org/web/20250429031805/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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:WPBSA player in articles based on its TemplateData.

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.

Template parameters

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

Default
Wikidata property 13285
Example
mark-allen
Stringoptional
Namename 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)".

Default
{{PAGENAMEBASE}}
Example
Mark Allen
Stringoptional
Internet Archive Date/Timearchive

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

Example
20250429031805
Numberoptional

See also

[edit]
[edit]