Template:Snooker.org player
{{{name}}} at Snooker.org
| File:Lua-Logo.svg | This template uses Lua: |
Template:Snooker.org player 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.
Usage
- Using Wikidata property
{{Snooker.org player}}{{Snooker.org player | name= NAME }}
- With ID in template
{{Snooker.org player | ID }}{{Snooker.org player | id= ID }}{{Snooker.org player | ID | NAME }}{{Snooker.org player | id= ID | name= NAME }}
Examples
Regular use
In the article Mark Allen:
- Usage
* {{Snooker.org player | 202 }}* {{Snooker.org player |id= 202 }}
- Output
-
- Mark Allen at Snooker.org
No ID in template or Wikidata
- Usage
* {{Snooker.org player}}
- Output
-
- Snooker.org player at Snooker.orgLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
TemplateData for Snooker.org player
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The ID number the URL, such as 202 in https://www.snooker.org/res/index.asp?player=202.
| Number | optional |
| Name | name 2 | The link text for the profile associated with "id" parameter. It defaults to the Wikipedia article name, without any disambiguation such as "(snooker player)".
| String | optional |
Tracking categories
- template with ID
- Category:Snooker.org player template with ID different from Wikidata (0)
- Category:Snooker.org player template with ID not in Wikidata (2)
- template missing ID