Template:Infobox chess match/doc

From Wikipedia, the free encyclopedia

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 title
  • location – Location of the competition
  • dates – Date(s) of the competition
  • comp# – Names of the competitors
  • image# – Competitors' pictures in full image format, i.e. [[File:filename.ext|size|caption]]
  • image - Centered image with both competitors in one picture
  • comp#_link – Article link to a competitor (for disambiguation or other article name difference)
  • flag# – Identifying national flag for each of the competitors
  • flag#_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 Russia
  • flagicon# – Identifying competition flag for competitors from sanctioned countries unable to use their national flag
  • flagicon#_link – Link to body represented by competition flag
  • flag#_note – notes about the flag a person is competing under, e.g. refugee status, multiple citizenship, or sanctions regime
  • dob# – Competitors' dates of birth
  • age# – Competitors' ages
  • qual# – Competitors' tournament qualification
  • elo# – Competitors' ELO rating
  • rank# – Competitors' FIDE world rankings
  • womens_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 rank
  • prev – Previous competition in series display
  • prev_link – Link to previous competition (if different)
  • next – Next competition in series display
  • next_link – Link to next competition (if different)
  • prev2 and next2 - Same as the unnumbered versions when there are multiple predecessors or successors
  • score# – 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]

World Chess Championship 2023
St Regis Hotel, Astana, Kazakhstan
9–30 April 2023
 
  FIDE Ian Nepomniachtchi China Ding Liren
 
7 (1½)Scores7 (2½)
Game 1½49 move draw½
Game 21 29 moves0
Game 3½30 move draw½
Game 4047 moves 1
Game 51 48 moves0
Game 6044 moves 1
Game 71 37 moves0
Game 8½45 move draw½
Game 9½82 move draw½
Game 10½45 move draw½
Game 11½39 move draw½
Game 12038 moves 1
Game 13½40 move draw½
Game 14½90 move draw½
Tiebreak Game 15½35 move draw½
Tiebreak Game 16½47 move draw½
Tiebreak Game 17½33 move draw½
Tiebreak Game 18068 moves 1
  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)
← 2021
2024 →
{{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]]

Template parameters

ParameterDescriptionTypeStatus
score1score1

Final score, competitor 1

Numbersuggested
score2score2

Final score, competitor 2

Numbersuggested