Difference between revisions of "Template:GroupTableSlotSimple"

From QWiki
m (Ignore me styling live)
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 -->

Revision as of 12:13, 2 June 2021

Documentation (view - edit)

Table row showing #, TBD team/player only. It is used together with the templates {{GroupTableStart}} and {{GroupTableEnd}}

The code:

{{GroupTableSlotSimple|{{Player||flag=}} |place=x|bg=|pbg=up}}

Gives us:

GroupTableStart
x TBD TBD


x TBD 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