Template:Infobox chess match/doc
This is a documentation subpage for Template:Infobox chess match. It may contain usage information, categories and other content that is not part of the original template page. |
This infobox is for articles on 1-on-1 chess competitions, such as the finals of the World Chess Championships.
Usage
[edit]Parameters
[edit]Most parameters are doubled for the information on each competitor, and are indicated by the number "1" or "2". I.e. comp#
is actually two parameters, comp1
and comp2
, for the names of the first and second competitor, respectively. Required parameters are comp1
, comp2
, score1
, and score2
.
header
– Name of the competition, defaulting to the page titlelocation
– Location of the competitiondates
– Date(s) of the competitioncomp#
– Names of the competitorsimage#
– Competitors' pictures in full image format, i.e.[[File:filename.ext|size|caption]]
image
- Centered image with both competitors in one picturecomp#_link
– Article link to a competitor (for disambiguation or other article name difference)flag#
– Identifying national flag for each of the competitorsflag#_variant
– Changes the flag to another variant, mainly used for old competitions where a different flag was used. Variants can be found in the relevant country data template, for example Template:Country data Russiaflagicon#
– Identifying competition flag for competitors from sanctioned countries unable to use their national flagflagicon#_link
– Link to body represented by competition flagflag#_note
– notes about the flag a person is competing under, e.g. refugee status, multiple citizenship, or sanctions regimedob#
– Competitors' dates of birthage#
– Competitors' agesqual#
– Competitors' tournament qualificationelo#
– Competitors' ELO ratingrank#
– Competitors' FIDE world rankingswomens_rank#
– Competitors' FIDE women's world rankings. Can't be used at the same time as rank.elo#_ref
– Reference for ELO rating and/or rankprev
– Previous competition in series displayprev_link
– Link to previous competition (if different)next
– Next competition in series displaynext_link
– Link to next competition (if different)prev2
andnext2
- Same as the unnumbered versions when there are multiple predecessors or successorsscore#
– Final scores
The following parameters are for the result and length of the individual games in the match.
game#
– Up to 20 game results starting with the result ("<", "-", ">", "/") as the first character followed by either "w" or "b" to indicate whether competitor #1 is playing the white or black pieces, followed by the length of the match.
- < – indicates competitor #1 is the winner
- - – indicates a draw
- > – indicates competitor #2 is the winner
- / – indicates a match scheduled, but not required for determining the winner
- Example: -b58 is a 58 move draw where competitor #1 played black.
type#
– game type (e.g. tie-break). Changes label of game from "Game n" to "type n". Games are still automatically numbered
Subtemplates
[edit]{{Infobox chess match/gamerow}}
– displays results of each individual game in match with alternating black/white squares for score
Example
[edit]St Regis Hotel, Astana, Kazakhstan | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
9–30 April 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ian Nepomniachtchi | Ding Liren | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Born 14 July 1990 32 years old |
Born 24 October 1992 30 years old | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Winner of the Candidates Tournament 2022 | Runner-up of the Candidates Tournament 2022 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Rating: 2795 (April 2023) (World No. 2) |
Rating: 2788 (April 2023) (World No. 3) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
{{Infobox chess match
|header = World Chess Championship 2023
|dates = 9–30 April 2023
|location = St Regis Hotel, [[Astana]], [[Kazakhstan]]
|comp1 = Ian Nepomniachtchi
|comp2 = Ding Liren
|title1 =
|title2 =
|image1 = [[File:World_Chess_Championship_2023,_game_03,_Ian_Nepomniachtchi.jpg|132px]]
|image2 = [[File:World_Chess_Championship_2023,_game_01,_Ding_Liren.jpg|144px]]
|flag1 = FIDE
|flag2 = CHN
|dob1 = 14 July 1990
|age1 = 32 years old
|dob2 = 24 October 1992
|age2 = 30 years old
|qual1 = Winner of the [[Candidates Tournament 2022]]
|qual2 = Runner-up of the [[Candidates Tournament 2022]]
|elo1 = 2795 (April 2023)
|elo2 = 2788 (April 2023)
|prev = 2021
|prev_link = World Chess Championship 2021
|next = ''2024''
|next_link = World Chess Championship 2024
|rank1=2
|rank2=3
|score1=7 {{small|(1½)}}
|score2=7 {{small|(2½)}}
|game1=-w49
|game2=<b29
|game3=-w30
|game4=>b47
|game5=<w48
|game6=>b44
|game7=<w37
|game8=-b45
|game9=-w82
|game10=-b45
|game11=-w39
|game12=>b38
|game13=-w40
|game14=-b90
|game15=-b35
|type15=Tiebreak Game
|game16=-w47
|type16=Tiebreak Game
|game17=-b33
|type17=Tiebreak Game
|game18=>w68
|type18=Tiebreak Game
}}
Empty with all parameters
[edit]{{Infobox chess match
|header =
|location =
|dates =
|comp1 =
|comp2 =
|comp1_link =
|comp2_link =
|image1 =
|image2 =
|title1 =
|title2 =
|flag1 =
|flag2 =
|flag1_variant =
|flag2_variant =
|flagicon1 =
|flagicon2 =
|flagicon1_link =
|flagicon2_link =
|flag1_note =
|flag2_note =
|dob1 =
|age1 =
|dob2 =
|age2 =
|qual1 =
|qual2 =
|elo1 =
|elo2 =
|elo1_ref =
|elo2_ref =
|rank1 =
|rank2 =
|womens_rank1 =
|womens_rank2 =
|prev =
|prev_link =
|next =
|next_link =
|score1 =
|score2 =
|game1 =
|game2 =
|game3 =
|game4 =
|game5 =
|game6 =
|game7 =
|game8 =
|game9 =
|game10 =
|game11 =
|game12 =
|game13 =
|game14 =
|game15 =
|type15 =
|game16 =
|type16 =
|game17 =
|type17 =
|game18 =
|type18 =
|game19 =
|type19 =
|game20 =
|type20 =
}}
TemplateData
[edit]This infobox is for articles on 1-on-1 chess competitions, such as the finals of the [[World Chess Championships]]
Parameter | Description | Type | Status | |
---|---|---|---|---|
score1 | score1 | Final score, competitor 1 | Number | suggested |
score2 | score2 | Final score, competitor 2 | Number | suggested |