Template:ETF2LGroupTableSlot/doc

From comp.tf
< Template:ETF2LGroupTableSlot
Revision as of 21:33, 30 July 2015 by Efefknee (talk | contribs) (Created page with "This template is for a row inside a group table. It is used together with the templates <nowiki>{{</nowiki>ETF2LGroupTableStart<nowiki>}}</no...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 Icon.png 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.
|win=...
|lose=...
|gcw=...
|gcl=...
(optional) Specify the number of matches the player has won/tied/lost. If not present the default value 0 is used for win and lose.

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 10