Template:ChessTempo.com player/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:ChessTempo.com player displays an external link to a chess player's page at ChessTempo.com. It is intended for use in the external links section of an article.

Omit the ID to use the Wikidata property.

Article name as link text
{{ChessTempo.com player | ID }}
{{ChessTempo.com player | id= ID }}
{{ChessTempo.com player}}
Parameter as link text
{{ChessTempo.com player | ID | NAME }}
{{ChessTempo.com player | id= ID | name= NAME }}
{{ChessTempo.com player | name= NAME }}

Examples

[edit source]

ID in template

[edit source]
Usage in the article Fabiano Caruana, with article name as link text
* {{ChessTempo.com player | 34446 }}
* {{ChessTempo.com player | id= 34446 }}
Usage with parameter as link text
* {{ChessTempo.com player | 34446 | Fabiano Caruana }}
* {{ChessTempo.com player | id= 34446 | name= Fabiano Caruana }}
Output
URLs
https://old.chesstempo.com/gamedb/player/34446
https://chesstempo.com/gamedb/player/34446 (redirects to URL above)

ID in Wikidata

[edit source]
Usage in the article Irina Krush
* {{ChessTempo.com player}}
* {{ChessTempo.com player | name= Irina Krush }}
Output
URLs
https://old.chesstempo.com/gamedb/player/111810
https://chesstempo.com/gamedb/player/111810 (redirects to URL above)

No ID in template or Wikidata

[edit source]
Usage
  • {{ChessTempo.com player}}
Output
  • ChessTempo.com player/doc chess games at ChessTempo.comLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).

TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:ChessTempo.com player in articles based on its TemplateData.

TemplateData for ChessTempo.com player

This template displays an external link to a chess player's page at ChessTempo.com. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number in the URL, such as 34446 in https://chesstempo.com/gamedb/player/34446. This parameter is optional if Wikidata property P3315 exists, but required if not.

Default
Wikidata property P3315
Numberoptional
Namename 2

The link text, which should be the player's name. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(chess player)".

Default
{{PAGENAMEBASE}}
Stringoptional