Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Sports table/Chess/doc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Tiebreak matches=== In many tournaments, if there is a tiebreak between the top players, additional tiebreak games are played. This module is able to handle these tiebreak games. The data for the following table comes from the [[2018 World Chess Championship]]. {| class="wikitable" style="background:white;" |- |'''What you type''' |<syntaxhighlight lang=moin>{{#invoke:Sports table|main|style=Chess |source={{cite web|title=World Chess Championship 2018: Carlsen vs Caruana |url=https://www.chess.com/article/view/world-chess-championship-2018-carlsen-caruana|accessdate=9 April 2020}} |class_rules={{cite web|title=RULES & REGULATIONS FOR THE FIDE WORLD CHAMPIONSHIP MATCH |url=https://www.fide.com/FIDE/handbook/regulations_match_2018.pdf|accessdate=9 April 2020}} |update=complete |title=World Chess Championship 2018 |show_positions=no |show_hth=no |show_win=no |hide_played=yes |show_matches=yes |team1=MC |team2=FC |name_MC={{flagathlete|[[Magnus Carlsen]]|Norway}} |name_FC={{flagathlete|[[Fabiano Caruana]]|USA}} |match_MC_FC=½+½+½+½+½+½+½+½+½+½+½+½ |bgcol_MC_FC=B+W+B+W+B+W+W+B+W+B+W+B |match_FC_MC=½+½+½+½+½+½+½+½+½+½+½+½ |bgcol_FC_MC=W+B+W+B+W+B+B+W+B+W+B+W |tb_numplayers=2 |extra_cols=1 |extra_header1=[[rapid chess|Rapid]] |tbmatch_MC_FC=1+1+1 |extra1_MC=3 |tbmatch_FC_MC=0+0+0 |extra1_FC=0 |tbbgcol_FC_MC=B+W+B }}</syntaxhighlight> |- |'''What it looks like''' |{{#invoke:Sports table|main|style=Chess |source={{cite web|title=World Chess Championship 2018: Carlsen vs Caruana |url=https://www.chess.com/article/view/world-chess-championship-2018-carlsen-caruana|accessdate=9 April 2020}} |class_rules={{cite web|title=RULES & REGULATIONS FOR THE FIDE WORLD CHAMPIONSHIP MATCH |url=https://www.fide.com/FIDE/handbook/regulations_match_2018.pdf|accessdate=9 April 2020}} |update=complete |title=World Chess Championship 2018 |show_positions=no |show_hth=no |show_win=no |hide_played=yes |show_matches=yes |team1=MC |team2=FC |name_MC={{flagathlete|[[Magnus Carlsen]]|Norway}} |name_FC={{flagathlete|[[Fabiano Caruana]]|USA}} |match_MC_FC=½+½+½+½+½+½+½+½+½+½+½+½ |bgcol_MC_FC=B+W+B+W+B+W+W+B+W+B+W+B |match_FC_MC=½+½+½+½+½+½+½+½+½+½+½+½ |bgcol_FC_MC=W+B+W+B+W+B+B+W+B+W+B+W |tb_numplayers=2 |extra_cols=1 |extra_header1=[[rapid chess|Rapid]] |tbmatch_MC_FC=1+1+1 |extra1_MC=3 |tbmatch_FC_MC=0+0+0 |extra1_FC=0 |tbbgcol_FC_MC=B+W+B }} |} The data for the following table comes from the [[Tata_Steel_Chess_Tournament#2018_2|Tata Steel Chess India Blitz tournament in 2018]]. {| class="wikitable" style="background:white;" |- |'''What you type''' |<syntaxhighlight lang=moin>{{#invoke:Sports table|main|style=Chess |source={{cite web|title=Tata Steel India Chess 2018_Blitz |url=http://chess-results.com/tnr391775.aspx?lan=1&art=2&flag=30|accessdate=9 April 2020}} |class_rules={{cite web|title=Tata Steel India Chess 2018_Blitz |url=http://chess-results.com/tnr391775.aspx?lan=1&art=4&flag=30|accessdate=9 April 2020}} |postitle=Rank |hide_played=yes |show_win=no |show_sb=yes |sb_iff_hth=yes |extra_cols=1 |extra_header1=Playoff |short_style=nocountry |show_matches=true |solid_cell=silver |disp_fractions=no |update=complete |result1=WIN |col_WIN=green1 |team1=VA |team2=HN |team3=LA |team4=WS |team5=SM |team6=PH |team7=VSG |team8=SK |team9=SSG |team10=PR |name_VA={{flagathlete|[[Viswanathan Anand]]|IND}} |name_HN={{flagathlete|[[Hikaru Nakamura]]|USA}} |name_LA={{flagathlete|[[Levon Aronian]]|ARM}} |name_WS={{flagathlete|[[Wesley So]]|USA}} |name_SM={{flagathlete|[[Shakhriyar Mamedyarov]]|AZE}} |name_PH={{flagathlete|[[Pentala Harikrishna]]|IND}} |name_VSG={{flagathlete|[[Vidit Santosh Gujrathi]]|IND}} |name_SK={{flagathlete|[[Sergey Karjakin]]|RUS}} |name_SSG={{flagathlete|[[Surya Shekhar Ganguly]]|IND}} |name_PR={{flagathlete|[[Praggnanandhaa Rameshbabu]]|IND}} |matchrow_VA= ———,½+½,0+½,1+½,½+1,1+½,1+1,½+0,1+1,1+1 |extra1_VA=1.5 |matchrow_HN= ½+½,———,½+½,1+½,1+1,1+0,½+1,½+1,1+1,½+½ |extra1_HN=0.5 |matchrow_LA= ½+1,½+½,———,½+½,1+½,1+0,½+1,1+½,½+½,1+1 |matchrow_WS= ½+0,½+0,½+½,———,1+1,1+0,½+½,½+1,1+0,½+1 |matchrow_SM= 0+½,0+0,½+0,0+0,———,½+½,1+1,½+½,0+1,1+1 |hth_SM=3 |nosb_SM=yes |matchrow_PH= ½+0,1+0,1+0,1+0,½+½,———,0+½,0+½,1+0,1+½ |hth_PH=1.5 |matchrow_VSG= 0+0,0+½,0+½,½+½,0+0,½+1,———,½+1,½+1,½+1 |hth_VSG=1.5 |matchrow_SK= 1+½,0+½,½+0,0+½,½+½,½+1,0+½,———,½+0,0+1 |matchrow_SSG= 0+0,0+0,½+½,1+0,0+1,1+0,0+½,1+½,———,0+0 |matchrow_PR= 0+0,½+½,0+0,0+½,0+0,½+0,0+½,0+1,1+1,——— |tb_numplayers=2 |tbmatch_VA_HN=1+½ |tbmatch_HN_VA=0+½ |tbbgcol_HN_VA=B+W }}</syntaxhighlight> |- |'''What it looks like''' |{{#invoke:Sports table|main|style=Chess |source={{cite web|title=Tata Steel India Chess 2018_Blitz |url=http://chess-results.com/tnr391775.aspx?lan=1&art=2&flag=30|accessdate=9 April 2020}} |class_rules={{cite web|title=Tata Steel India Chess 2018_Blitz |url=http://chess-results.com/tnr391775.aspx?lan=1&art=4&flag=30|accessdate=9 April 2020}} |postitle=Rank |hide_played=yes |show_win=no |show_sb=yes |sb_iff_hth=yes |extra_cols=1 |extra_header1=Playoff |short_style=nocountry |show_matches=true |solid_cell=silver |disp_fractions=no |update=complete |result1=WIN |col_WIN=green1 |team1=VA |team2=HN |team3=LA |team4=WS |team5=SM |team6=PH |team7=VSG |team8=SK |team9=SSG |team10=PR |name_VA={{flagathlete|[[Viswanathan Anand]]|IND}} |name_HN={{flagathlete|[[Hikaru Nakamura]]|USA}} |name_LA={{flagathlete|[[Levon Aronian]]|ARM}} |name_WS={{flagathlete|[[Wesley So]]|USA}} |name_SM={{flagathlete|[[Shakhriyar Mamedyarov]]|AZE}} |name_PH={{flagathlete|[[Pentala Harikrishna]]|IND}} |name_VSG={{flagathlete|[[Vidit Santosh Gujrathi]]|IND}} |name_SK={{flagathlete|[[Sergey Karjakin]]|RUS}} |name_SSG={{flagathlete|[[Surya Shekhar Ganguly]]|IND}} |name_PR={{flagathlete|[[Praggnanandhaa Rameshbabu]]|IND}} |matchrow_VA= ———,½+½,0+½,1+½,½+1,1+½,1+1,½+0,1+1,1+1 |extra1_VA=1.5 |matchrow_HN= ½+½,———,½+½,1+½,1+1,1+0,½+1,½+1,1+1,½+½ |extra1_HN=0.5 |matchrow_LA= ½+1,½+½,———,½+½,1+½,1+0,½+1,1+½,½+½,1+1 |matchrow_WS= ½+0,½+0,½+½,———,1+1,1+0,½+½,½+1,1+0,½+1 |matchrow_SM= 0+½,0+0,½+0,0+0,———,½+½,1+1,½+½,0+1,1+1 |hth_SM=3 |nosb_SM=yes |matchrow_PH= ½+0,1+0,1+0,1+0,½+½,———,0+½,0+½,1+0,1+½ |hth_PH=1.5 |matchrow_VSG= 0+0,0+½,0+½,½+½,0+0,½+1,———,½+1,½+1,½+1 |hth_VSG=1.5 |matchrow_SK= 1+½,0+½,½+0,0+½,½+½,½+1,0+½,———,½+0,0+1 |matchrow_SSG= 0+0,0+0,½+½,1+0,0+1,1+0,0+½,1+½,———,0+0 |matchrow_PR= 0+0,½+½,0+0,0+½,0+0,½+0,0+½,0+1,1+1,——— |tb_numplayers=2 |tbmatch_VA_HN=1+½ |tbmatch_HN_VA=0+½ |tbbgcol_HN_VA=B+W }} |} If {{para|tb_numplayers}} is a number greater than 1, then a second crosstable will be displayed which may be used for tiebreak match data. The {{para|tb_numplayers}} parameter determines how many players are involved in the tiebreak matches. Note that tiebreak matches only apply to the players at the top of the table. For tiebreak match data, the parameters {{para|tbmatch_XXX_YYY}}, {{para|tbbgcol_XXX_YYY}}, {{para|tbmatchrow_XXX}}, and {{para|tbbgcolrow_XXX}} are used in place of {{para|match_XXX_YYY}}, {{para|bgcol_XXX_YYY}}, {{para|matchrow_XXX}}, and {{para|bgcolrow_XXX}}, respectively. The second crosstable is then displayed following the same rules as the first crosstable. Note that no information on wins or points is automatically calculated from tiebreak match data. For information on the {{para|source}}, {{para|class_rules}}, and {{para|update}} parameters used in these tables, see [[#Footer options]].
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)