Template:Snooker.org player/doc

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

Usage

 * Using Wikidata property


 * With ID in template

Regular use
In the article Mark Allen:


 * Usage


 * Output


 * URL
 * https://www.snooker.org/res/index.asp?player=202/

No ID in template or Wikidata

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to a snooker player's page at snooker.org, a website that documents snooker tournament results and various statistics. 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 202 in https://www.snooker.org/res/index.asp?player=202.", "default": "Wikidata property P4502", "example": "202", "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": "Mark Allen", "type": "string", "required": false } } }