Difference between revisions of "Template:Chessclub player/doc"

From blackwiki
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)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
 
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
 
+
{{Uses Wikidata|P1666}}
 
This template generates an external link to a chess player's page at the [[Internet Chess Club]] (ChessClub.com).
 
This template generates an external link to a chess player's page at the [[Internet Chess Club]] (ChessClub.com).
  
Line 52: Line 52:
 
</templatedata>
 
</templatedata>
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
<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

Template:Uses Wikidata This template generates an external link to a chess player's page at the Internet Chess Club (ChessClub.com).

Usage

One parameter:

{{Chessclub player | ID }}
{{Chessclub player | id= ID }}

Two parameters:

{{Chessclub player | ID | NAME }}
{{Chessclub player | id= ID | name= NAME }}

Examples

http://www.chessclub.com/finger/Adaptation

One parameter:

  1. {{Chessclub player | Adaptation }}
    Template:PAGENAMEBASE player profile at the Internet Chess Club
  2. {{Chessclub player | id= Adaptation }}
    Template:PAGENAMEBASE player profile at the Internet Chess Club

Two parameters:

  1. {{Chessclub player | Adaptation | Fabiano Caruana }}
    Fabiano Caruana player profile at the Internet Chess Club
  2. {{Chessclub player | id= Adaptation | name= Fabiano Caruana }}
    Fabiano Caruana player profile at the Internet Chess Club

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 Chessclub player

This template generates an external link to a chess player's page at the Internet Chess Club (ChessClub.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