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

From blackwiki
Jump to navigation Jump to search
imported>Was a bee
imported>Was a bee
m (Sorry. Correct link for former AWB edit is here (Template_talk:Wikidata_property#Proposal_of_including_multiple_properties))
Line 2: Line 2:
 
<!--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|P1665}}
+
{{Uses Wikidata|P1665}}  
 
This template generates an external link to a chess player's page at [[Chessgames.com]].
 
This template generates an external link to a chess player's page at [[Chessgames.com]].
  

Revision as of 22:01, 19 July 2018

Template:Uses Wikidata This template generates an external link to a chess player's page at Chessgames.com.

Usage

One parameter:

{{Chessgames player | ID }}
{{Chessgames player | id= ID }}

Two parameters:

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

Examples

http://www.chessgames.com/perl/chessplayer?pid=76172

One parameter:

  1. {{Chessgames player | 76172 }}
    Template:PAGENAMEBASE player profile and games at Chessgames.com
  2. {{Chessgames player | id= 76172 }}
    Template:PAGENAMEBASE player profile and games at Chessgames.com

Two parameters:

  1. {{Chessgames player | 76172 | Fabiano Caruana }}
    Fabiano Caruana player profile and games at Chessgames.com
  2. {{Chessgames player | id= 76172 | name= Fabiano Caruana }}
    Fabiano Caruana player profile and games at Chessgames.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 Chessgames player

This template generates an external link to a chess player's page at Chessgames.com.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

ID number used in the URL.

Numberrequired
Namename 2

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

Stringoptional