Template:WST player/doc

It is intended for use in the external links section of an article.

Usage

 * Active link using Wikidata property


 * Active link with ID in template


 * Archived link with ID in template

Active link
In the article Ronnie O'Sullivan:


 * Usage


 * Output


 * URL
 * https://wst.tv/players/ronnie-osullivan/

Archived link
In the article Li Hang (snooker player):


 * Usage


 * Output


 * URL
 * https://web.archive.org/web/20230322221109/https://wst.tv/players/li-hang/

No ID in template or Wikidata

 * Usage


 * Output

TemplateData
{ "description": "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.", "params": { "id": { "label": "ID", "aliases": ["1"], "description": "The ID portion of the URL, such as ronnie-osullivan in https://wst.tv/players/ronnie-osullivan/ or http://www.worldsnooker.com/players/ronnie-osullivan/.", "default": "Wikidata property P4498", "example": "ronnie-osullivan", "type": "string", "required": false },   "name": { "label": "Name", "aliases": ["2"], "description": "The link text for the profile associated with \"id\" parameter. It defaults to the Wikipedia article name, without any disambiguation such as \"(snooker player)\".", "default": "", "example": "Ronnie O'Sullivan", "type": "string", "required": false },   "archive": { "label": "Archive Date/Time", "description": "Used to add an archived link for the wst.tv/players/ URL (see examples). It should contain a number representing the date/time in an Internet Archive URL.", "example": "20230322221109", "type": "number", "required": false } } }