Difference between revisions of "Template:GroupTableStart/doc"

From QWiki
m
m (Adding inter-doc links)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Begins a group table. This template is used together with the templates {{tl|GroupTableSlot}} and {{tl|GroupTableEnd}}
+
<div style="float:right;padding:0 10px 10px 10px;margin: 0 0 10px 40px;border: 1px solid #aaa;">
 +
<small>'''Related templates:'''</small>
 +
* {{Tl|LeagueTableSlot2on2}}
 +
* {{Tl|LeagueTableSlotNQR}}
 +
* {{Tl|LeagueTableSlotNQR2}}
 +
* {{Tl|GroupTableSlot}}
 +
</div>Begins a group table.
  
== Parameters ==
+
This template is used together with the templates {{tl|GroupTableSlot}} and {{tl|GroupTableEnd}}
 
 
The following parameters can be used for this template
 
  
;''first unnamed argument''
+
=== Example #1 ===
:The first unnamed argument of the parameter list is used as the caption of the group table. Examples could be <code>Group D</code> or <code>Week 3</code>.
 
;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.
 
;preview
 
:(Optional) Put a link to a preview here.
 
;lrthread
 
:(Optional) Put a link to the live report thread here.
 
;vod, vod1, vod2, vod3, vod4, vod5
 
:(Optional) Put a link to the VOD(s) here.
 
:'''vod1''', '''vod2''', etc. do not require the {{tl|Vod}} template
 
;interview
 
:(Optional) Put a link to the interview(s) here.
 
;review
 
:(Optional) Put a link to the review here.
 
;date
 
:(Optional) Put the date here. It will display between the title row and the first [[Template:GroupTableSlot|group slot]]. Time can also be included to activate the countdown timer (Month Day, Year - Time)
 
;|stream=
 
:(Optional) Add a link to the stream, based on the TeamLiquid stream name (i.e. ''<nowiki>http://www.teamliquid.net/video/streams/</nowiki>''STREAMNAME)
 
;|finished=
 
:(Optional) Set this to "true" to hide the countdown.
 
;tablestyle=
 
:(Optional) defines additional table CSS styling.
 
 
 
== Examples ==
 
=== #1 ===
 
 
  <nowiki>{{Template:GroupTableStart|Group D|width=300px}}</nowiki>
 
  <nowiki>{{Template:GroupTableStart|Group D|width=300px}}</nowiki>
 
  <nowiki>{{Template:GroupTableEnd}}</nowiki>
 
  <nowiki>{{Template:GroupTableEnd}}</nowiki>
Line 45: Line 18:
 
{{Template:GroupTableEnd}}
 
{{Template:GroupTableEnd}}
  
=== #2 ===
+
=== Example #2 ===
 
  <nowiki>{{GroupTableStart|Group A|width=300px
 
  <nowiki>{{GroupTableStart|Group A|width=300px
|date=April 1,2014
 
|preview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301734#three
 
|lrthread=http://www.teamliquid.net/forum/viewmessage.php?topic_id=308196
 
 
|vod=http://www.gomtv.net/2012gsls1/vod/66754
 
|vod=http://www.gomtv.net/2012gsls1/vod/66754
|interview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=302021
 
|review=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301952#one
 
 
}}
 
}}
 
{{GroupTableEnd}}</nowiki>
 
{{GroupTableEnd}}</nowiki>
Line 59: Line 27:
  
 
{{GroupTableStart|Group A|width=300px
 
{{GroupTableStart|Group A|width=300px
|date=April 1,2014
 
|preview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301734#three
 
|lrthread=http://www.teamliquid.net/forum/viewmessage.php?topic_id=308196
 
 
|vod=http://www.gomtv.net/2012gsls1/vod/66754
 
|vod=http://www.gomtv.net/2012gsls1/vod/66754
|interview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=302021
 
|review=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301952#one
 
 
}}
 
}}
 
{{GroupTableEnd}}
 
{{GroupTableEnd}}
 +
== Parameters ==
 +
 +
The following parameters can be used for this template
  
Adapted from [http://wiki.teamliquid.net/starcraft2/Template:GroupTableStart Liquipedia]
+
;''first unnamed argument''
 +
:The first unnamed argument of the parameter list is used as the caption of the group table. Examples could be <code>Group D</code> or <code>Week 3</code>.
 +
;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.

Latest revision as of 09:54, 29 March 2021

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.