Difference between revisions of "Template:GroupTableStart"

From QWiki
(Created page with "<includeonly>{|class="table table-bordered grouptable{{#if:{{{hide|}}}|{{#switch: {{{hide}}} |true =<nowiki> collapsible collapsed</nowiki>...")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
{{#if:{{{date|}}}|
 
{{#if:{{{date|}}}|
 
{{!}}-
 
{{!}}-
{{!}}colspan="6" style="background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px; text-align:center;" {{!}} '''{{{date}}}'''{{#ifeq:{{{finished|}}}|true||<span class="streamLink">{{{stream|}}}</span><span style="display:none" class="datetime">{{{date|}}}</span><span style="padding:5px 0px 0px 0px; display:block;" class="countdown">{{#ifeq:{{{live|}}}|true|{{#if:{{{stream|}}}|[http://www.teamliquid.net/video/streams/{{{stream}}} LIVE!]|LIVE!}}}}</span>}}}}<!--
+
{{!}}colspan="6" style="background-color:#f2f2f2; font-size:85%; line-height:90%; height:13px; text-align:center;" {{!}} '''{{{date}}}'''{{#ifeq:{{{finished|}}}|true||<span class="streamLink">{{{stream|}}}</span><span style="display:none" class="datetime">{{{date|}}}</span><span style="padding:5px 0px 0px 0px; display:block;" class="countdown">{{#ifeq:{{{live|}}}|true|{{#if:{{{stream|}}}|[http://www.twitch.tv</{{{stream}}} LIVE!]|LIVE!}}}}</span>}}}}<!--
  
 
Variable stuff
 
Variable stuff

Latest revision as of 06:30, 21 September 2020

Documentation (view - edit)

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
|vod=http://www.gomtv.net/2012gsls1/vod/66754
}}
{{GroupTableEnd}}

This will result in the following table

Group A Watch VOD

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.
vod
(Optional) Put a link to the VOD(s) here.