Template:Lichess player
Appearance
{{{name}}} member profile at Lichess
This template uses the Wikidata property:
- Lichess username (P8976) (see uses)
This template uses Lua: |
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
-
- Stellan Brynell member profile at Lichess
ID in Wikidata
[edit]- Usage in the article Elina Danielian
* {{Lichess player}}
* {{Lichess player | name= Elina Danielian }}
- Output
-
- Elina Danielian member profile at Lichess
No parameters
[edit]- Usage
-
{{Lichess player}}
- Output
-
- {{Lichess player}} template missing ID and not present in Wikidata.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | ID string used in the URL. | String | optional |
Name | name 2 | Name displayed as the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |