Difference between revisions of "Template:ETF2LGroupTableSlot"
Jump to navigation
Jump to search
(I sure hope this works) |
m |
||
Line 8: | Line 8: | ||
}};"|}} | }};"|}} | ||
| class="centered" |{{{place|X}}}. <!-- show place number in header cell --> | | class="centered" |{{{place|X}}}. <!-- show place number in header cell --> | ||
− | |style="white-space: pre; text-align:center;"| | + | | class="centered" |{{{team}}} |
+ | |style="white-space: pre; text-align:center;"| {{#expr: {{{win}}} + {{{gcw}}} + {{{gcl}}} }} | ||
| class="centered" | {{#if: {{{win|}}}|{{{win}}}|0}} | | class="centered" | {{#if: {{{win|}}}|{{{win}}}|0}} | ||
| class="centered" | {{#if: {{{lost|}}}|{{{lost}}}|0}} | | class="centered" | {{#if: {{{lost|}}}|{{{lost}}}|0}} | ||
Line 14: | Line 15: | ||
| class="centered" | {{{gcl}}} | | class="centered" | {{{gcl}}} | ||
| class="centered" | <span style="color: red;">{{{pen}}}</span>{{#if:{{{notes|}}}| <sup>{{{notes| }}}</sup>}} | | class="centered" | <span style="color: red;">{{{pen}}}</span>{{#if:{{{notes|}}}| <sup>{{{notes| }}}</sup>}} | ||
− | | class="centered" | | + | | class="centered" | {{#expr: ({{#expr: {{{win}}}*3 }}) + ({{#expr: {{{gcw}}}*2 }}) + {{{gcl}}} + {{{pen}}} }} }} |
</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 20:43, 30 July 2015
(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. | {{{team}}} | Expression error: Unrecognized punctuation character "{". | 0 | 0 | {{{gcw}}} | {{{gcl}}} | {{{pen}}} | Expression error: Unexpected < operator. }} |
X. | {{{team}}} | Expression error: Unrecognized punctuation character "{". | 0 | 0 | {{{gcw}}} | {{{gcl}}} | {{{pen}}} | Expression error: Unexpected < operator. }} |
X. | Barry's Bobbing Bats | Expression error: Unrecognized punctuation character "{". | 0 | 0 | {{{gcw}}} | {{{gcl}}} | {{{pen}}} | Expression error: Unexpected < operator. }} |
X. | {{{team}}} | 8 | 2 | 0 | 1 | 5 | {{{pen}}} | Expression error: Unrecognized punctuation character "{". }} |
X. | {{{team}}} | Expression error: Unrecognized punctuation character "{". | 0 | 0 | {{{gcw}}} | {{{gcl}}} | -3 | Expression error: Unexpected < operator. }} |
X. | {{{team}}} | Expression error: Unrecognized punctuation character "{". | 0 | 0 | {{{gcw}}} | {{{gcl}}} | {{{pen}}} | Expression error: Unexpected < operator. }} |
X. | {{{team}}} | Expression error: Unrecognized punctuation character "{". | 0 | 0 | {{{gcw}}} | {{{gcl}}} | {{{pen}}} | Expression error: Unexpected < operator. }} |
X. | Barry's Bobbing Bats | 8 | 2 | 0 | 1 | 5 | -3 1 | 10 }} |