Editing Template:GroupTableSlot

Jump to navigation Jump to search

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.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page is not enabled for semantic in-text annotations due to namespace restrictions. Details about how to enable the namespace can be found on the configuration help page.

Latest revision Your text
Line 1: Line 1:
<includeonly>|-{{#if: {{{bg|}}}|style="background-color:{{#switch: {{{bg}}}
+
<includeonly>|-{{#if: {{{bg|}}}|style="background-color:{{Color|{{{bg}}}}};"|}}
                                  |proceed
+
!style="width: 16px;{{#if: {{{pbg|}}}| background-color:{{Color|{{{pbg}}}}};|}}"|{{{place|X}}}. <!-- show place number in header cell -->
                                  |up = rgb(204,255,204)
+
|colspan="{{#expr:4-{{#if:{{{win_g|}}}{{{lose_g|}}}|1|0}}-{{#if:{{{diff|}}}|1|0}}}}" style="text-align:{{{align|left}}};{{#if: {{{bg|}}}|background-color:{{Color|{{{bg}}}}};|}}" class="grouptableslot"| {{{1}}} <!-- show the player name with the correct colspan -->
                                  |stayup = rgb(238,255,170)
+
|<!--class="grouptable-games" -->style="width: 35px; white-space: pre; text-align:center;"|'''{{{win_m|0}}}-{{#if:{{{tie_m|}}}|{{{tie_m|}}}-}}{{{lose_m|0}}}''' <!-- always show match scores --><!--
                                  |stay = rgb(255,255,153)
+
-->{{#if: {{{win_g|}}}{{{lose_g|}}} <!-- show games scores if present with win_g= or lose_g=
                                  |staydown = rgb(255,221,170)
+
-->| {{!}}{{!}}<!--class="grouptable-games" -->style="width: 35px; white-space: pre; text-align:center;"{{!}}{{{win_g|0}}}-{{{lose_g|0}}}}}<!--
                                  |drop
+
-->{{#if: {{{diff|}}} <!-- if diff= is present, show it as well  
                                  |down = rgb(255,204,204)
+
-->| {{!}}{{!}}<!--class="grouptable-games" -->style="width: 35px; white-space: pre; text-align: center;"{{!}}''{{{diff|}}}''
                                  |{{{bg}}}
 
                            }};"|}}
 
!style="width: 16px;{{#if: {{{pbg|}}}| background-color:{{#switch: {{{pbg}}}
 
                                  |u
 
                                  |up
 
                                  |proceed = rgb(187,238,187)
 
                                  |su
 
                                  |stayup = rgb(221,238,187)
 
                                  |s
 
                                  |stay = rgb(238,238,136)
 
                                  |sd
 
                                  |staydown = rgb(238,204,153)
 
                                  |d
 
                                  |down
 
                                  |drop = rgb(238,187,187)
 
                                  |{{{pbg}}}
 
                            }};|}}"|{{{place|X}}}. <!-- show place number in header cell -->
 
|colspan="{{#expr:4-{{#if:{{{win_r|}}}{{{lose_r|}}}|1|0}}-{{#if:{{{diff|}}}|1|0}}}}" style="text-align:{{{align|left}}};" class="grouptableslot"| {{{1}}}<!-- show the team name with the correct colspan -->
 
|style="width: 32px; white-space: pre; text-align:center;"|'''{{{win_m|0}}}-{{#if:{{{tie_m|}}}|{{{tie_m|}}}-}}{{{lose_m|0}}}'''<!-- always show match scores --><!--
 
-->{{#if: {{{win_r|}}}{{{lose_r|}}} <!-- show games scores if present with win_r= or lose_r=-->
 
| {{!}}{{!}}style="width:44px; white-space:pre; text-align:center;"{{!}}{{{win_r|0}}}-{{{lose_r|0}}}}}<!--
 
-->{{#if: {{{diff|}}} <!-- if diff= is present, show it as well -->
 
| {{!}}{{!}}style="width:32px; white-space:pre; text-align:center;"{{!}}''{{{diff|}}}''
 
 
}}{{#ifeq:{{lc:{{#var:show_points|}}}}|true<!-- if show_p present, show points   
 
}}{{#ifeq:{{lc:{{#var:show_points|}}}}|true<!-- if show_p present, show points   
 
-->| {{!}}{{!}}<!--class="grouptable-points"-->style="width: 32px; white-space: pre; text-align:center;"{{!}}<!--
 
-->| {{!}}{{!}}<!--class="grouptable-points"-->style="width: 32px; white-space: pre; text-align:center;"{{!}}<!--
-->{{#if: {{{points|}}} | '''<i>{{{points}}}p</i>''' | <!--
 
 
-->{{#if: {{{win_m|}}}{{{lose_m|}}}<!-- if win_m or lose_m is present, calculate points  
 
-->{{#if: {{{win_m|}}}{{{lose_m|}}}<!-- if win_m or lose_m is present, calculate points  
   -->| '''<i>{{#expr: ({{{win_m}}}*{{#if:{{#var:win_points|}}|{{#var:win_points|}}|3}}) + ({{#if:{{{tie_m|}}}|{{{tie_m}}}|0}}*{{#if:{{#var:tie_points|}}|{{#var:tie_points|}}|1}}) + {{#if:{{{temp_p|}}}|{{{temp_p}}}|0}}}}p</i><!--
+
  -->|  {{#if: {{{tie_m|}}}<!-- if tie_m is present, include tie matches in calculation 
 +
   -->| '''<i>{{#expr: ({{{win_m}}}*{{#var:win_points|3}}) + ({{#if:{{{tie_m|}}}|{{{tie_m}}}|0}}*{{#var:tie_points|1}}) + {{#if:{{{temp_p|}}}|{{{temp_p}}}|0}}}}p</i><!--
 
   -->}}<!--
 
   -->}}<!--
 
   -->| '''<i>0p</i>'''<!--
 
   -->| '''<i>0p</i>'''<!--
 
   -->}}<!--
 
   -->}}<!--
-->}}</includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Source Liquipedia]][[Category:Templates]]</noinclude>
+
-->}}
 +
</includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Source Liquipedia]][[Category:Templates]]</noinclude>

Please note that all contributions to comp.tf 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 comp.tf:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)