Template:Infobox chess match/doc

From Exordium Wiki

Page Module:Message box/ombox.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").

Page Module:Message box/ombox.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").

This infobox is for articles on 1-on-1 chess competitions, such as the finals of the World Chess Championships.

Usage[edit source]

Parameters[edit source]

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]]
  • comp#_link – Article link to a competitor (for disambiguation or other article name difference)
  • flag# – Identifying national flag for each of the competitors
  • 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
  • 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)
  • 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 source]

{{Infobox chess match/gamerow}} – displays results of each individual game in match with alternating black/white squares for score

Example[edit source]

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
}}

Page Template:Reflist/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text").