Difference between revisions of "Template:GroupTableStart/doc"

From QWiki
m (Added date param info)
m (Added param info for "info")
 
Line 27: Line 27:
  
 
{{GroupTableStart|Group A|width=300px
 
{{GroupTableStart|Group A|width=300px
 +
|date=8 March 2030 23:00 CET
 +
}}
 +
{{GroupTableEnd}}
 +
=== Example #3 ===
 +
<nowiki>{{GroupTableStart|Group A|width=300px
 +
|info=This game is very hyped
 +
|date=8 March 2030 23:00 CET
 +
}}
 +
{{GroupTableEnd}}</nowiki>
 +
 +
This will result in the following table
 +
 +
{{GroupTableStart|Group A|width=300px
 +
|info=This game is very hyped
 
|date=8 March 2030 23:00 CET
 
|date=8 March 2030 23:00 CET
 
}}
 
}}
Line 44: Line 58:
 
:;hide=true
 
:;hide=true
 
::makes table collapsible, hides it.
 
::makes table collapsible, hides it.
 +
;info
 +
:(Optional) Set any extra text string, like "Deadline still TBA"
 
;date
 
;date
 
:(Optional) Set the date for the Group, or date with time (format: ''February 21, 2021 18:10'' {{Abbr/CEST}}). If the date is in the future, a countdown will show.
 
:(Optional) Set the date for the Group, or date with time (format: ''February 21, 2021 18:10'' {{Abbr/CEST}}). If the date is in the future, a countdown will show.
 
;vod
 
;vod
 
:(Optional) Put a link to the VOD(s) here.
 
:(Optional) Put a link to the VOD(s) here.

Latest revision as of 15:49, 24 February 2025

Begins a group table.

This template is used together with the templates {{GroupTableSlot}} and {{GroupTableEnd}}

Example #1

{{Template:GroupTableStart|Group D|width=300px}}
{{Template:GroupTableEnd}}

This will result in the following table

Group D

Example #2

{{GroupTableStart|Group A|width=300px
|date=8 March 2030 23:00 CET
}}
{{GroupTableEnd}}

This will result in the following table

Group A
8 March 2030 23:00 CET

Example #3

{{GroupTableStart|Group A|width=300px
|info=This game is very hyped
|date=8 March 2030 23:00 CET
}}
{{GroupTableEnd}}

This will result in the following table

Group A
This game is very hyped
8 March 2030 23:00 CET

Parameters

The following parameters can be used for this template

first unnamed argument
The first unnamed argument of the parameter list is used as the caption of the group table. Examples could be Group D or Week 3.
width=...
(optional) This argument specify the width of the table. The value can be any CSS width value.
hide=...
(optional)
hide=false
makes table collapsible, shows it.
hide=true
makes table collapsible, hides it.
info
(Optional) Set any extra text string, like "Deadline still TBA"
date
(Optional) Set the date for the Group, or date with time (format: February 21, 2021 18:10 CEST). If the date is in the future, a countdown will show.
vod
(Optional) Put a link to the VOD(s) here.