Difference between revisions of "Template:Chessgames player/doc"
Jump to navigation
Jump to search
imported>Zyxw (create template documentation, including categories) |
imported>Vanisaac m (→Template data: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 2: | Line 2: | ||
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | <!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--> | ||
| + | {{Uses Wikidata|P1665}} | ||
This template generates an external link to a chess player's page at [[Chessgames.com]]. | This template generates an external link to a chess player's page at [[Chessgames.com]]. | ||
| Line 15: | Line 16: | ||
== Examples == | == Examples == | ||
<code><nowiki>http://</nowiki>www.chessgames.com/perl/chessplayer?pid={{hilite|76172}}</code> | <code><nowiki>http://</nowiki>www.chessgames.com/perl/chessplayer?pid={{hilite|76172}}</code> | ||
| − | |||
One parameter: | One parameter: | ||
| Line 53: | Line 53: | ||
</templatedata> | </templatedata> | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
[[Category:Chess templates]] | [[Category:Chess templates]] | ||
[[Category:People and person external link templates]] | [[Category:People and person external link templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 04:34, 24 April 2020
| This is a documentation subpage for Template:Chessgames player. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata This template generates an external link to a chess player's page at Chessgames.com.
Usage
One parameter:
{{Chessgames player | ID }}{{Chessgames player | id= ID }}
Two parameters:
{{Chessgames player | ID | NAME }}{{Chessgames player | id= ID | name= NAME }}
Examples
http://www.chessgames.com/perl/chessplayer?pid=76172
One parameter:
{{Chessgames player | 76172 }}- Template:PAGENAMEBASE player profile and games at Chessgames.com
{{Chessgames player | id= 76172 }}- Template:PAGENAMEBASE player profile and games at Chessgames.com
Two parameters:
{{Chessgames player | 76172 | Fabiano Caruana }}- Fabiano Caruana player profile and games at Chessgames.com
{{Chessgames player | id= 76172 | name= Fabiano Caruana }}- Fabiano Caruana player profile and games at Chessgames.com
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Chessgames player
This template generates an external link to a chess player's page at Chessgames.com.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | ID number used in the URL. | Number | required |
| Name | name 2 | Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |