Difference between revisions of "Template:Chess.com player"
Jump to navigation
Jump to search
imported>ChessFiends (←Created page with '[http://www.chess.com/members/view/{{{1|{{{id}}}}}} {{{2|{{{name|{{PAGENAME}}}}}}}}] player profile at Chess.com<noinclude> Category:Chess templates C...') |
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.chess.com/members/view/{{{1|{{{id}}}}}} {{{2|{{{name|{{PAGENAME}}}}}}}}] player profile at [[Chess.com]]<noinclude> | + | [http://www.chess.com/members/view/{{Trim|{{{1|{{{id}}}}}}}} {{{2|{{{name|{{Title without disambig|{{PAGENAME}}}}}}}}}}] player profile at [[Chess.com]]<noinclude> |
| − | + | {{Documentation}} | |
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 04:21, 27 September 2014
Template:Title without disambig player profile at Chess.com
This template generates an external link to a chess player's page at Chess.com.
Usage
One parameter:
{{Chess.com player | ID }}{{Chess.com player | id= ID }}
Two parameters:
{{Chess.com player | ID | NAME }}{{Chess.com player | id= ID | name= NAME }}
Examples
http://www.chess.com/members/view/FabianoCaruana
One parameter:
{{Chess.com player | FabianoCaruana }}- Template:Title without disambig player profile at Chess.com
{{Chess.com player | id= FabianoCaruana }}- Template:Title without disambig player profile at Chess.com
Two parameters:
{{Chess.com player | FabianoCaruana | Fabiano Caruana }}- Fabiano Caruana player profile at Chess.com
{{Chess.com player | id= FabianoCaruana | name= Fabiano Caruana }}- Fabiano Caruana player profile at Chess.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 Chess.com player
This template generates an external link to a chess player's page at Chess.com.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | ID string used in the URL. | String | 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:Chess.com 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. |