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: {{{ | + | -->{{#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|}}}'' | ||
− | + | }}</includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:Source Liquipedia]][[Category:Templates]]</noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |