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

From blackwiki
Jump to navigation Jump to search
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.)
imported>WOSlinker
(PAGENAMEBASE)
Line 1: Line 1:
[http://www.chess.com/members/view/{{Trim|{{{1|{{{id}}}}}}}} {{{2|{{{name|{{Title without disambig|{{PAGENAME}}}}}}}}}}] player profile at [[Chess.com]]<noinclude>
+
[http://www.chess.com/members/view/{{Trim|{{{1|{{{id}}}}}}}} {{{2|{{{name|{{PAGENAMEBASE}}}}}}}}] player profile at [[Chess.com]]<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 16:40, 15 November 2014

Template:PAGENAMEBASE 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:PAGENAMEBASE player profile at Chess.com
  2. {{Chess.com player | id= FabianoCaruana }}
    Template:PAGENAMEBASE 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