Difference between revisions of "Template:ETF2LGroupTableSlot"
Jump to navigation
Jump to search
m |
m |
||
Line 33: | Line 33: | ||
| class="centered" | {{#if: {{{gcw|}}}|{{{gcw}}} }} | | class="centered" | {{#if: {{{gcw|}}}|{{{gcw}}} }} | ||
| class="centered" | {{#if: {{{gcl|}}}|{{{gcl}}} }} | | class="centered" | {{#if: {{{gcl|}}}|{{{gcl}}} }} | ||
− | | class="centered"{{#if:{{{nopen|}}}|style="display:none"|}} | {{#if: {{{pen|}}}|<span style="color: red;">{{{pen}}}</span>{{#if:{{{notes|}}}| <sup>{{{notes| }}}</sup>}} }} | + | | class="centered" {{#if:{{{nopen|}}}|style="display:none"|}} | {{#if: {{{pen|}}}|<span style="color: red;">{{{pen}}}</span>{{#if:{{{notes|}}}| <sup>{{{notes| }}}</sup>}} }} |
| class="centered" | {{#expr: {{#if:{{{win|}}}|{{#expr: {{{win}}}*3 }}|0}} + {{#if:{{{gcw|}}}|{{#expr: {{{gcw}}}*2 }}|0}} + {{#if:{{{gcl|}}}|{{{gcl}}}|0}} + {{#if:{{{pen|}}}|{{{pen}}}|0}} }} | | class="centered" | {{#expr: {{#if:{{{win|}}}|{{#expr: {{{win}}}*3 }}|0}} + {{#if:{{{gcw|}}}|{{#expr: {{{gcw}}}*2 }}|0}} + {{#if:{{{gcl|}}}|{{{gcl}}}|0}} + {{#if:{{{pen|}}}|{{{pen}}}|0}} }} | ||
</includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:ETF2L Templates]][[Category:Templates]]</noinclude> | </includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]][[Category:ETF2L Templates]][[Category:Templates]]</noinclude> |
Revision as of 01:06, 24 November 2016
(view - edit) Documentation
This template is for a row inside a group table. It is used together with the templates {{ETF2LGroupTableStart}} and {{GroupTableEnd}}
Parameters
The following parameters can be used in this template
- |team=...
- Team name. This can be even a template call like Epsilon eSports. If left empty, the default value
TBD
is used. - |place=...
- (optional) The place number to shown. If this parameter is not set the value
X
is used. - |bg=...
- (optional) The background color for the slot. This can be every CSS color values, but the following color names has been added to the template for easy use:
- |bg=proceed
- |bg=up
- Use a light green background to indicate that this position is a proceeding place inside the group.
- |bg=stay
- Use a light yellow background to indicate that this player will stay at the same stage in the tournament or advance through a longer bracket or group stage.
- |bg=drop
- |bg=down
- Use a light red background to indicate that this position will drop the player from the group.
- |bg=pull
- Use a grey background if the team pull out for any reason.
- |win=...
- |lose=...
- Specify the number of matches the player has won/lost. If not present the default value
0
. - |gcw=...
- |gcl=...
- (Optional) Specify the number of Golden Cap Wins and Golden Cap Loses
- |pen=...
- (Optional) Specify the number of penalties
- |notes=...
- (Optional) Specify the reason for a penalty
Example
{{ETF2LGroupTableStart| Group B }} {{ETF2LGroupTableSlot| Nothing }} {{ETF2LGroupTableSlot| With position |pos=3}} {{ETF2LGroupTableSlot| With team |team=Barry's Bobbing Bats}} {{ETF2LGroupTableSlot| With match scores |win=2|lose=1|gcw=1|gcl=5}} {{ETF2LGroupTableSlot| With penalties|pen=-3}} {{ETF2LGroupTableSlot| With proceed background|bg=proceed}} {{ETF2LGroupTableSlot| With drop background|bg=drop}} {{ETF2LGroupTableSlot| With everything |pos=3 |team=Barry's Bobbing Bats |win=2|lose=1|gcw=1|gcl=5 |pen=-3 |bg=drop}} {{GroupTableEnd}}
This will result in the following group table (showing all possibilities, only one scheme should be used through the whole group table).
Group B | ||||||||
---|---|---|---|---|---|---|---|---|
Team | Pld | W | L | GCW | GCL | Pen | Pts | |
X. | TBD | 0 | 0 | 0 | 0 | |||
3. | TBD | 0 | 0 | 0 | 0 | |||
X. | Barry's Bobbing Bats | 0 | 0 | 0 | 0 | |||
X. | TBD | 9 | 2 | 1 | 1 | 5 | 13 | |
X. | TBD | 0 | 0 | 0 | -3 | -3 | ||
X. | TBD | 0 | 0 | 0 | 0 | |||
X. | TBD | 0 | 0 | 0 | 0 | |||
3. | Barry's Bobbing Bats | 9 | 2 | 1 | 1 | 5 | -3 1 | 10 |