Difference between revisions of "Template:Chessgames player"
Jump to navigation
Jump to search
imported>DixonDBot m (Migrating 1 interwiki links, now provided by Wikidata on d:Q5911049) |
imported>Zyxw (Remove any leading spaces from 1st unnamed parameter that would break link. Remove disambiguation if {{PAGENAME}} is used as link text. Move categories to new /doc sub-page.) |
||
| Line 1: | Line 1: | ||
| − | [http://www.chessgames.com/perl/chessplayer?pid={{{1|{{{id}}}}}} {{{2|{{{name|{{PAGENAME}}}}}}}}] player profile and games at [[Chessgames.com]]<noinclude>{{pp-template}} | + | [http://www.chessgames.com/perl/chessplayer?pid={{Trim|{{{1|{{{id}}}}}}}} {{{2|{{{name|{{Title without disambig|{{PAGENAME}}}}}}}}}}] player profile and games at [[Chessgames.com]]<noinclude>{{pp-template}} |
| − | + | {{Documentation}} | |
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 04:32, 27 September 2014
Template:Title without disambig player profile and games at Chessgames.com
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:Title without disambig player profile and games at Chessgames.com
{{Chessgames player | id= 76172 }}- Template:Title without disambig 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 |
| The above documentation is transcluded from Template:Chessgames player/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |