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!
====Wins, Draws, and Losses==== For backwards compatibility with the WDL style, it is possible to choose whether to display the Wins, Draws, and Losses columns. {| class="wikitable" style="background:white;" |- |'''What you type''' |<syntaxhighlight lang=moin>{{#invoke:Sports table|main|style=Chess |team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=CAR |name_AAA=[[Grandmaster (chess)|Grandmaster]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_CAR={{flagathlete|[[Fabiano Caruana]]|USA}} |show_win=yes |show_draw=yes |show_loss=yes |wdl_iff_hth=yes |hth_before_w=no |match_AAA_BBB=1+0 |match_AAA_CCC=1+½ |match_AAA_DDD=½+ |match_AAA_CAR= +0 |hth_AAA=1 |match_BBB_AAA=1+0 |match_BBB_CCC=½+½ |match_BBB_DDD=½+0 |match_BBB_CAR=½ |hth_BBB=1 |match_CCC_AAA=½+0 |match_CCC_BBB=½+½ |match_CCC_DDD=1 |match_CCC_CAR= |match_DDD_AAA= +½ |match_DDD_BBB=1+½ |match_DDD_CCC= +0 |match_CAR_AAA=1+ |match_CAR_BBB= +½ }}</syntaxhighlight> |- |'''What it looks like''' |{{#invoke:Sports table|main|style=Chess |team1=AAA |team2=BBB |team3=CCC |team4=DDD |team5=CAR |name_AAA=[[Grandmaster (chess)|Grandmaster]] |name_BBB=Team 2 |name_CCC=Team 3 |name_DDD=Team 4 |name_CAR={{flagathlete|[[Fabiano Caruana]]|USA}} |show_win=yes |show_draw=yes |show_loss=yes |wdl_iff_hth=yes |hth_before_w=no |match_AAA_BBB=1+0 |match_AAA_CCC=1+½ |match_AAA_DDD=½+ |match_AAA_CAR= +0 |hth_AAA=1 |match_BBB_AAA=1+0 |match_BBB_CCC=½+½ |match_BBB_DDD=½+0 |match_BBB_CAR=½ |hth_BBB=1 |match_CCC_AAA=½+0 |match_CCC_BBB=½+½ |match_CCC_DDD=1 |match_CCC_CAR= |match_DDD_AAA= +½ |match_DDD_BBB=1+½ |match_DDD_CCC= +0 |match_CAR_AAA=1+ |match_CAR_BBB= +½ }} |} We saw the {{para|show_win}} parameter in the previous example, but there are also {{para|show_draw}} and {{para|show_loss}} parameters, which similarly determine whether the Draws and Losses columns, respectively, will be shown. The default value of {{para|show_win}} is yes, while the default values of {{para|show_draw}} and {{para|show_loss}} are no. As seen in previous tables, the H2H column usually appears before the Wins column. If you wish the H2H column to show up immediately after whichever of the Wins, Draws, and Losses columns are present, you may set the {{para|hth_before_w}} parameter to no. If the parameter {{para|wdl_iff_hth}} is set to yes, then any wins, draws, or losses will only be displayed if head to head data has been defined for a given player.
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)