Difference between revisions of "Template:GroupTableSlotSimple"
From QWiki
m (Removing old code) |
m (Ignore me styling live) |
||
Line 1: | Line 1: | ||
+ | {{GroupTableStart|Group 1|width=200px}} | ||
+ | {{GroupTableSlotSimple|Player |place=x|win_m=|lose_m=|bg=|pbg=up}} | ||
+ | {{GroupTableEnd}} | ||
<includeonly>|-{{#if: {{{bg|}}}|style="background-color:{{Color|{{{bg}}}}};"|}} | <includeonly>|-{{#if: {{{bg|}}}|style="background-color:{{Color|{{{bg}}}}};"|}} | ||
!style="width: 16px;{{#if: {{{pbg|}}}| background-color:{{Color|{{{pbg}}}}};|}}"|{{{place|X}}} <!-- show place number in header cell --> | !style="width: 16px;{{#if: {{{pbg|}}}| background-color:{{Color|{{{pbg}}}}};|}}"|{{{place|X}}} <!-- show place number in header cell --> | ||
Line 24: | Line 27: | ||
|down7 = {{PlaceDown}} -7 | |down7 = {{PlaceDown}} -7 | ||
|{{{go}}} | |{{{go}}} | ||
− | + | }} | |
− | + | }} | |
− | |||
</includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude> | </includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude> |
Revision as of 12:12, 2 June 2021
Group 1
| |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
x | Player
|
Documentation (view - edit)
Related templates:
- {{LeagueTableSlot2on2}}
- {{LeagueTableSlotNQR}}
- {{LeagueTableSlotNQR2}}
- {{GroupTableSlot}}
The code:
{{GroupTableSlotSimple|{{Player||flag=}} |place=x|bg=|pbg=up}}
Gives us:
GroupTableStart
| |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
x | TBD
| ||||||||||
x | TBD
|
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 ⇗ arrow.
- |go=same
- Shows the ⇔ arrow.
- |go=down
- Shows the ⇘ arrow.
- |go=...
- Show the given content instead.
Adapted from Liquipedia