Template:GroupTableSlot/doc
Jump to navigation
Jump to search
This template is for a row inside a group table. It is used together with the templates {{GroupTableStart}} and {{GroupTableEnd}}
Parameters
The following parameters can be used in this template
- first parameter
- The first parameter in this template (technically the {{{1}}} field) is used as the player name. This can be even a template call like {{player}}.
- |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=staydown
- 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.
- |pbg=...
- (optional) The background color for the place column. This can be every CSS color, but the following color names has been added to the template for easy use:
- |pbg=proceed
- |pbg=up
- Use a light green background to indicate that this position is a proceeding place inside the group.
- |pbg=drop
- |pbg=down
- Use a light red background to indicate that this position will drop the player from the group.
- |go=...
- (optional) If present an arrow indicating the movement inside the group will shown. The following values can be used:
- |go=up
- Shows the Template:PlaceUp arrow.
- |go=same
- Shows the Template:PlaceSame arrow.
- |go=down
- Shows the Template:PlaceDown arrow.
- |go=...
- Show the given content instead.
- |win_m=...
- |tie_m=...
- |lose_m=...
- (optional) Specify the number of matches the player has won/tied/lost. If not present the default value
0
is used. - |win_g=...
- |lose_g=...
- (optional) Specify the number of games the player has won/lost (like in a Bo3 match). If not present no games score is shown.
Example
{{GroupTableStart| Group B }} {{GroupTableSlot| No arguments at all}} {{GroupTableSlot| With place |place=3}} {{GroupTableSlot| With matches |win_m=3|lose_m=1}} {{GroupTableSlot| With games |win_g=2|lose_g=1}} {{GroupTableSlot| With arrow |go=up}} {{GroupTableSlot| With difference |diff=-8}} {{GroupTableSlot| With proceed background|bg=proceed}} {{GroupTableSlot| With drop background|bg=drop}} {{GroupTableSlot| With pbg background|pbg=proceed}} {{GroupTableSlot| With everything |place=10|go=same|win_m=5|lose_m=1|win_g=10|lose_g=4|diff=+4}} {{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 | ||||||
---|---|---|---|---|---|---|
X. | No arguments at all | 0-0 | ||||
3. | With place | 0-0 | ||||
X. | With matches | 3-1 | ||||
X. | With games | 0-0 | ||||
X. | With arrow | 0-0 | ||||
X. | With difference | 0-0 | -8 | |||
X. | With proceed background | 0-0 | ||||
X. | With drop background | 0-0 | ||||
X. | With pbg background | 0-0 | ||||
10. | With everything | 5-1 | +4 |