Difference between revisions of "Template:Chess.com player"

From blackwiki
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}}
[[Category:Chess templates]]
 
[[Category:People and person external link templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 04:21, 27 September 2014

Template:Title without disambig player profile at Chess.com

50px Template documentation[view] [edit] [history] [purge]

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:

  1. {{Chess.com player | FabianoCaruana }}
    Template:Title without disambig player profile at Chess.com
  2. {{Chess.com player | id= FabianoCaruana }}
    Template:Title without disambig player profile at Chess.com

Two parameters:

  1. {{Chess.com player | FabianoCaruana | Fabiano Caruana }}
    Fabiano Caruana player profile at Chess.com
  2. {{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.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

ID string used in the URL.

Stringrequired
Namename 2

Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional