Jump to content

Template:Lichess player/doc

From Wikipedia, the free encyclopedia

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

Usage

[edit]
Unnamed parameters
{{Lichess player | ID }}
{{Lichess player | ID | NAME }}
Named parameters
{{Lichess player | id= ID }}
{{Lichess player | id= ID | name= NAME }}
Using Wikidata property Lichess username (P8976)
{{Lichess player}}
{{Lichess player | name= NAME }}

Examples

[edit]

ID in template

[edit]
Usage in the article Stellan Brynell, with article name as link text
* {{Lichess player | Canuara }}
* {{Lichess player | id= Canuara }}
Usage with name parameter as link text
* {{Lichess player | Canuara | Stellan Brynell }}
* {{Lichess player | id= Canuara | name= Stellan Brynell }}
Output
URL
https://lichess.org/@/Canuara

ID in Wikidata

[edit]
Usage in the article Elina Danielian
* {{Lichess player}}
* {{Lichess player | name= Elina Danielian }}
Output
URL
https://lichess.org/@/ClassyEl

No parameters

[edit]
Usage
  • {{Lichess player}}
Output

TemplateData

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

TemplateData for Lichess player

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

Template parameters

ParameterDescriptionTypeStatus
IDid 1

ID string used in the URL.

Stringoptional
Namename 2

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

Stringoptional