Template:Infobox chess match/doc: Difference between revisions

From The Global Wiki
Jump to navigation Jump to search
en>Vanisaac
(Undid revision 1102464818 by Vanisaac (talk))
 
m (1 revision imported)
 
(No difference)

Latest revision as of 01:07, 18 January 2023

Usage

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

Parameters

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

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

Example

Script error: No such module "Infobox3cols".

Note that the final scores and the 97 move Nepomniachtchi win in game #7 are not indicative of the results of the 2021 World Chess Championship.

{{Infobox chess match
|header = World Chess Championship 2021
|location = Dubai, UAE
|dates = 24 November – 12 December 2021
|comp1 = Magnus Carlsen
|comp2 = Ian Nepomniachtchi
|title1 = Defending champion
|title2 = Challenger
|image1 = [[File:FIDE World FR Chess Championship 2019 - Magnus Carlsen (cropped).jpg|center|Magnus Carlsen|130px]]
|image2 = [[File:World Chess Championship 2021, game 07, Ian Nepomniachtchi (cropped).jpg|center|Ian Nepomniachtchi|130px]]
|flag1 = NOR
|flagicon2 = CFR Russia chess simplified flag infobox.svg<!-- DO NOT CHANGE TO THE RUSSIAN FLAG, it has been pointed out in the Sanctions against Russia section. -->
|flagicon2_link = Chess Federation of Russia
|flag2_note= Nepomniachtchi is Russian, but competed under the [[Chess Federation of Russia]] flag, due to [[World Anti-Doping Agency|WADA]] sanctions against Russia. See the [[#Sanctions against Russia|Sanctions against Russia]] section.
|score1 = 7 1/2
|score2 = 4 1/2
|game1 = -b45
|game2 = -w58
|game3 = -b41
|game4 = -w33
|game5 = -b43
|game6 = <w136
|game7 = >b97
|type7 = Not played
|game8 = -b41
|game9 = <w46
|game10 = <b39
|game11 = -w41
|game12 = <b49
|game13 = /
|game14 = /
|dob1 = 30 November 1990
|age1 = 30/31 years old<!-- CARLSEN HAD HIS BIRTHDAY DURING THE MATCH, SO HE WAS 30 WHEN IT STARTED, BUT WAS 31 WHEN IT FINISHED. SEE [[World Chess Championship 1958]] FOR ANOTHER TIME THIS HAPPENED -->
|dob2 = 14 July 1990
|age2 = 31 years old
|qual1 = Winner of the [[World Chess Championship 2018]]
|qual2 = Winner of the [[Candidates Tournament 2020–21]]
|elo1 = 2856
|rank1 = 1
|elo2 = 2782
|rank2 = 5
|prev = 2018
|prev_link = World Chess Championship 2018
|next = 2023
|next_link = World Chess Championship 2023
}}