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 |
||
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: {{{height|}}}|line-height: {{{height}}}; |}};" |
− | !colspan=" | + | !colspan="{{{colspan|7}}}"| {{{1}}} <span style="float:right; font-size: small" class="plainlinks"><!-- |
+ | -->{{#if:{{{editlink|}}}|([{{fullurl:{{{editlink}}}|action=edit}} edit])}}<!-- | ||
-->{{#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}}}|Watch VOD]]}} <!-- | + | -->{{#if:{{{vod|}}}|[[File:vod.png|link={{{vod}}}|15px|Watch VOD]]}}<!-- |
− | -->{{#if:{{{vod1|}}}| | + | -->{{#if:{{{vod1|}}}|{{vodlink|gamenum=1|vod={{{vod1}}}|source=url}} }}<!-- |
− | -->{{#if:{{{vod2|}}}| | + | -->{{#if:{{{vod2|}}}|{{vodlink|gamenum=2|vod={{{vod2}}}|source=url}} }}<!-- |
− | -->{{#if:{{{vod3|}}}| | + | -->{{#if:{{{vod3|}}}|{{vodlink|gamenum=3|vod={{{vod3}}}|source=url}} }}<!-- |
− | -->{{#if:{{{vod4|}}}| | + | -->{{#if:{{{vod4|}}}|{{vodlink|gamenum=4|vod={{{vod4}}}|source=url}} }}<!-- |
− | -->{{#if:{{{vod5|}}}| | + | -->{{#if:{{{vod5|}}}|{{vodlink|gamenum=5|vod={{{vod5}}}|source=url}} }}<!-- |
+ | -->{{#if:{{{vod6|}}}|{{vodlink|gamenum=6|vod={{{vod6}}}|source=url}} }}<!-- | ||
+ | -->{{#if:{{{vod7|}}}|{{vodlink|gamenum=7|vod={{{vod7}}}|source=url}} }}<!-- | ||
+ | -->{{#if:{{{vod8|}}}|{{vodlink|gamenum=8|vod={{{vod8}}}|source=url}} }}<!-- | ||
+ | -->{{#if:{{{vod9|}}}|{{vodlink|gamenum=9|vod={{{vod9}}}|source=url}} }} <!-- | ||
-->{{#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 17: | Line 22: | ||
{{#if:{{{date|}}}| | {{#if:{{{date|}}}| | ||
{{!}}- | {{!}}- | ||
− | {{!}}colspan=" | + | {{!}}colspan="{{{colspan|7}}}" class="grouptable-start-date" {{!}} '''{{{date}}}'''{{#ifeq:{{{finished|}}}|true||<span class="streamLink">{{{stream|}}}</span><span class="datetime" style="display:none">{{{date|}}}</span><span class="countdown grouptable-start-countdown">{{#ifeq:{{{live|}}}|true|LIVE!}}</span>}}}}<!-- |
− | + | -->{{#vardefine:show_points|{{{show_p|}}}}}{{#vardefine:win_points|{{{win_p|}}}}}{{#vardefine:tie_points|{{{tie_p|}}}}}</includeonly><noinclude>{{documentation}}[[Category:Tournament Page Formatting Templates]]</noinclude> | |
− | |||
− | -->{{#vardefine: | ||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 18:09, 29 April 2017
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.