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.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a246e24069e8554f

Jump to content

Template:WST player/doc

From Wikipedia, the free encyclopedia

Template:WST player displays an external link to a snooker player's page at WST.tv, the official website of the World Snooker Tour. It is intended for use in the external links section of an article.

Usage

[edit]
Using Wikidata property
{{WST player}}
{{WST player |name= NAME }}
Using new ID in template
{{WST player |new_id= ID }}
{{WST player |new_id= ID |name= NAME }}
{{WST player |new_id= ID |new_archive= NUMBER }}
{{WST player |new_id= ID |new_archive= NUMBER |name= NAME}}
Using old ID in template
{{WST player |old_id= ID }}
{{WST player |old_id= ID |name= NAME }}
{{WST player |old_id= ID |archive= NUMBER }}
{{WST player |old_id= ID |archive= NUMBER |name= NAME }}

Examples

[edit]

New ID in Wikidata

[edit]
Usage in Ronnie O'Sullivan
* {{WST player}}
Output
Current URL
https://www.wst.tv/players/226c7294-655e-4925-bcde-17330ddfc438

New ID in template

[edit]
Usage in Reanne Evans
* {{WST player |new_id= bc4020ad-76c2-42a4-8994-dd0f756d0b6a }}
* {{WST player |new_id= bc4020ad-76c2-42a4-8994-dd0f756d0b6a |old_id= reanne-evans }}
Output
Current URL
https://www.wst.tv/players/bc4020ad-76c2-42a4-8994-dd0f756d0b6a
Former URLs
https://wst.tv/players/reanne-evans/ (archive)
https://www.worldsnooker.com/players/reanne-evans/ (archive)

Archived new ID in template

[edit]
Usage in Mostafa Dorgham
* {{WST player |new_id= 14243478-1def-4ce2-a9a0-80a2858abe32 |new_archive= 20250426010409 }}
Output
Former URL (404 error)
https://www.wst.tv/players/14243478-1def-4ce2-a9a0-80a2858abe32
Archived former URL
https://web.archive.org/web/20250426010409/https://www.wst.tv/players/14243478-1def-4ce2-a9a0-80a2858abe32

Archived old ID in template

[edit]
Usage in Li Hang (snooker player)
* {{WST player |old_id= li-hang }}
* {{WST player |old_id= li-hang |archive= 20230322221109 }}
Output
Archived former URLs
https://web.archive.org/web/20231001000000/https://wst.tv/players/li-hang/
https://web.archive.org/web/20230322221109/https://wst.tv/players/li-hang/

No ID in template or Wikidata

[edit]
Usage
* {{WST player}}
Output
  • {{WST 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:WST player in articles based on its TemplateData.

TemplateData for WST player

This template displays an external link to a snooker player's page at WST.tv, the official website of the World Snooker Tour. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
New IDnew_id

The ID portion of the current URL, such as https://www.wst.tv/players/bc4020ad-76c2-42a4-8994-dd0f756d0b6a. This is not required if using the old ID or Wikidata property P4498.

Default
Wikidata property P4498
Example
bc4020ad-76c2-42a4-8994-dd0f756d0b6a
Stringoptional
Internet Archive Date/Time for New IDnew_archive

For archived links using the new_id parameter, a number representing the date/time in an Internet Archive URL such as https://web.archive.org/web/20250426010409/https://www.wst.tv/players/14243478-1def-4ce2-a9a0-80a2858abe32.

Default
20250426010409
Numberoptional
Old IDold_id id 1

The ID portion of the former URL, such as https://wst.tv/players/reanne-evans/ or https://www.worldsnooker.com/players/reanne-evans/. This is not required if using the new ID or Wikidata property P4498.

Example
reanne-evans
Stringoptional
Internet Archive Date/Time for Old IDarchive

For archived links using the old_id parameter, a number representing the date/time in an Internet Archive URL such as https://web.archive.org/web/20230322221109/https://wst.tv/players/li-hang/.

Default
20231001000000
Example
20230322221109
Numberoptional
Namename 2

The link text. This defaults to the Wikipedia article name, without any disambiguation such as "(snooker player)".

Default
{{PAGENAMEBASE}}
Example
Reanne Dvans
Stringoptional

Tracking categories

[edit]
template with |new_id=
template missing ID

See also

[edit]
[edit]