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 24: Line 24:
 
                                   |{{{pbg}}}
 
                                   |{{{pbg}}}
 
                             }};|}}"|{{{place|X}}}. <!-- show place number in header cell -->
 
                             }};|}}"|{{{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 -->
+
|colspan="{{#expr:4-{{#if:{{{win_m|}}}{{{lose_m|}}}|1|0}}-{{#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 --><!--
 
|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=-->
+
-->{{#if: {{{win_g|}}}{{{lose_g|}}} <!-- show games scores if present with win_g= or lose_g=-->
 
| {{!}}{{!}}style="width:44px; white-space:pre; text-align:center;"{{!}}{{{win_r|0}}}-{{{lose_r|0}}}}}<!--
 
| {{!}}{{!}}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 -->
 
-->{{#if: {{{diff|}}} <!-- if diff= is present, show it as well -->
 
| {{!}}{{!}}style="width:32px; white-space:pre; text-align:center;"{{!}}''{{{diff|}}}''
 
| {{!}}{{!}}style="width:32px; white-space:pre; text-align:center;"{{!}}''{{{diff|}}}''
}}{{#ifeq:{{lc:{{#var:show_points|}}}}|true<!-- if show_p present, show points 
+
}}</includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Source Liquipedia]][[Category:Templates]]</noinclude>
-->| {{!}}{{!}}<!--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
 
  -->| '''<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><!--
 
  -->}}<!--
 
  -->| '''<i>0p</i>'''<!--
 
  -->}}<!--
 
-->}}</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)