Difference between revisions of "Template:GroupTableStart"
From QWiki
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|true =<nowiki> collapsible collapsed</nowiki> | |true =<nowiki> collapsible collapsed</nowiki> | ||
|false =<nowiki> collapsible</nowiki> | |false =<nowiki> collapsible</nowiki> | ||
− | |{{{hide}}}}}}}" style="{{#if: {{{width|}}}|width: {{{width}}}; |}}margin: 0px; {{#if: {{{ | + | |{{{hide}}}}}}}" style="{{#if: {{{width|}}}|width: {{{width}}}; |}}margin: 0px;{{#if:{{{tablestyle|}}}|{{{tablestyle|}}};}}" |
− | !colspan=" | + | !colspan="6"| {{{1}}} <span class="plainlinks" style="float:right;"><!-- |
− | |||
-->{{#if:{{{preview|}}}|[[File:Preview Icon.png|link={{{preview}}}|alt=preview|15px|Preview]]}} <!-- | -->{{#if:{{{preview|}}}|[[File:Preview Icon.png|link={{{preview}}}|alt=preview|15px|Preview]]}} <!-- | ||
-->{{#if:{{{lrthread|}}}|[[File:LiveReport.png|link={{{lrthread}}}|alt=lrthread|15px|Live Report Thread]]}} <!-- | -->{{#if:{{{lrthread|}}}|[[File:LiveReport.png|link={{{lrthread}}}|alt=lrthread|15px|Live Report Thread]]}} <!-- | ||
− | -->{{#if:{{{vod|}}}|[[File:vod.png|link={{{vod}}} | + | -->{{#if:{{{vod|}}}|[[File:vod.png|link={{{vod}}}|Watch VOD]]}} <!-- |
− | -->{{#if:{{{vod1|}}}| | + | -->{{#if:{{{vod1|}}}|[[File:vod1.png|link={{{vod1}}}|Watch VOD]]}} <!-- |
− | -->{{#if:{{{vod2|}}}| | + | -->{{#if:{{{vod2|}}}|[[File:vod2.png|link={{{vod2}}}|Watch VOD]]}} <!-- |
− | -->{{#if:{{{vod3|}}}| | + | -->{{#if:{{{vod3|}}}|[[File:vod3.png|link={{{vod3}}}|Watch VOD]]}} <!-- |
− | -->{{#if:{{{vod4|}}}| | + | -->{{#if:{{{vod4|}}}|[[File:vod4.png|link={{{vod4}}}|Watch VOD]]}} <!-- |
− | -->{{#if:{{{vod5|}}}| | + | -->{{#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:{{{recap|}}}|[[File:Writers_Icon.png|link={{{recap}}}|15px|Recap]]}} <!-- | -->{{#if:{{{recap|}}}|[[File:Writers_Icon.png|link={{{recap}}}|15px|Recap]]}} <!-- | ||
Line 22: | Line 17: | ||
{{#if:{{{date|}}}| | {{#if:{{{date|}}}| | ||
{{!}}- | {{!}}- | ||
− | {{!}}colspan=" | + | {{!}}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>}}}}<!-- |
− | -->{{#vardefine: | + | |
+ | Variable stuff | ||
+ | -->{{#vardefine:Group_date|{{#replace:{{#explode:{{{date|}}}|<|0}}|- |}}}}<!-- | ||
+ | -->{{#vardefine:Raw_Group_date|{{#explode:{{{date|}}}|<|0}}}}<!-- | ||
+ | -->{{#vardefine:timezone|{{#explode:{{#explode:{{{date|}}}|data-tz="|1}}|"|0}}}}<!-- | ||
+ | -->{{#vardefine:Match_date|}}<!-- | ||
+ | -->{{#vardefine:Raw_Match_date|}}<!-- | ||
+ | --></includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude> |
Latest revision as of 06:30, 21 September 2020
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 |vod=http://www.gomtv.net/2012gsls1/vod/66754 }} {{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 D
orWeek 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.