Template:Chessgames player
Appearance
{{{name}}} player profile and games at Chessgames.com
This template is used on approximately 3,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Template:Chessgames player displays an external link to a chess player's page at Chessgames.com. It is intended for use in the external links section of an article.
Usage
- Unnamed parameters
{{Chessgames player | ID }}
{{Chessgames player | ID | NAME }}
- Named parameters
{{Chessgames player | id= ID }}
{{Chessgames player | id= ID | name= NAME }}
- Using Wikidata property
{{Chessgames player}}
{{Chessgames player | name= NAME }}
Examples
ID in template
- Usage in the article Fabiano Caruana, with article name as link text
* {{Chessgames player | 76172 }}
* {{Chessgames player | id= 76172 }}
- Usage with name parameter as link text
* {{Chessgames player | 76172 | Fabiano Caruana }}
* {{Chessgames player | id= 76172 | name= Fabiano Caruana }}
- Output
-
- Fabiano Caruana player profile and games at Chessgames.com
- URL using numeric ID
- https://www.chessgames.com/perl/chessplayer?pid=76172
- Other URL for same page
- https://www.chessgames.com/player/fabiano_caruana.html
ID in Wikidata
- Usage in the article Irina Krush
* {{Chessgames player}}
* {{Chessgames player | name= Irina Krush }}
- Output
-
- Irina Krush player profile and games at Chessgames.com
- URL using numeric ID
- https://www.chessgames.com/perl/chessplayer?pid=49592
- Other URL for same page
- https://www.chessgames.com/player/irina_krush.html
No ID in template or Wikidata
- Usage
-
{{Chessgames player}}
- Output
-
- {{Chessgames player}} template missing ID and not present in Wikidata.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Chessgames player in articles based on its TemplateData.
TemplateData for Chessgames player
This template displays an external link to a chess player's page at Chessgames.com. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | ID number used in the URL. | Number | optional |
Name | name 2 | Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |
Tracking categories
- template with ID
- Category:Chessgames player template with ID different from Wikidata (11)
- Category:Chessgames player template with ID not in Wikidata (23)
- template missing ID