Difference between revisions of "Template:Chess.com 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) |
||
| Line 52: | Line 52: | ||
</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:31, 24 April 2020
| 40px | This is a documentation subpage for Template:Chess.com player. It contains usage information, categories and other content that is not part of the original template page. |
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:PAGENAMEBASE player profile at Chess.com
{{Chess.com player | id= FabianoCaruana }}- Template:PAGENAMEBASE 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 |