Difference between revisions of "Template:GroupTableStart"
From QWiki
m (Fixed crash when both info and date was set) |
m (Hunting down row break bug) |
||
| Line 13: | Line 13: | ||
-->{{#if:{{{vod5|}}}|[[File:vod5.png|link={{{vod5}}}|Watch VOD]]}} <!-- | -->{{#if:{{{vod5|}}}|[[File:vod5.png|link={{{vod5}}}|Watch VOD]]}} <!-- | ||
-->{{#if:{{{interview|}}}|[[File:Int_Icon.png|link={{{interview}}}|20px|Interview]]}} <!-- | -->{{#if:{{{interview|}}}|[[File:Int_Icon.png|link={{{interview}}}|20px|Interview]]}} <!-- | ||
| − | -->{{#if:{{{review|}}}|[[File:Writers_Icon.png|link={{{review}}}|15px|Review]]}}</span> | + | -->{{#if:{{{review|}}}|[[File:Writers_Icon.png|link={{{review}}}|15px|Review]]}}</span> <!-- |
{{#if:{{{info|}}}|{{!}}- | {{#if:{{{info|}}}|{{!}}- | ||
{{!}}colspan="6" style="background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px; text-align:center;"{{!}}'''{{{info}}}'''}} | {{!}}colspan="6" style="background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px; text-align:center;"{{!}}'''{{{info}}}'''}} | ||
Revision as of 10:37, 26 February 2025
Documentation (view - edit)
Related templates:
- {{LeagueTableSlot2on2}}
- {{LeagueTableSlotNQR}}
- {{LeagueTableSlotNQR2}}
- {{GroupTableSlot}}
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 |
|---|
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 |
|---|
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 DorWeek 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.