Difference between revisions of "Template:GroupTableStart/doc"

From QWiki
m
m
Line 19: Line 19:
 
;lrthread
 
;lrthread
 
:(Optional) Put a link to the live report thread here.
 
:(Optional) Put a link to the live report thread here.
;vod, vod1, vod2, vod3, vod4, vod5
+
;vod
 
:(Optional) Put a link to the VOD(s) here.
 
:(Optional) Put a link to the VOD(s) here.
:'''vod1''', '''vod2''', etc. do not require the {{tl|Vod}} template
 
 
;interview
 
;interview
 
:(Optional) Put a link to the interview(s) here.
 
:(Optional) Put a link to the interview(s) here.
 
;review
 
;review
 
:(Optional) Put a link to the review here.
 
:(Optional) Put a link to the review here.
;date
+
;editlink
:(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)
+
:(Optional) The page name which contains the GroupTableStart, so it can be edited directly.
;|stream=
+
;show_p
:(Optional) Add a link to the stream, based on the TeamLiquid stream name (i.e. ''<nowiki>http://www.teamliquid.net/video/streams/</nowiki>''STREAMNAME)
+
:(Optional) Set true to display a points column.
;|finished=
+
;win_p
:(Optional) Set this to "true" to hide the countdown.
+
:(Optional) Specify number of points awarded for a win. (Default: 3)
;tablestyle=
+
;tie_p
:(Optional) defines additional table CSS styling.
+
:(Optional) Specify number of points awarded for a tie. (Default: 1)
 
 
 
== Examples ==
 
== Examples ==
 
=== #1 ===
 
=== #1 ===
Line 47: Line 45:
 
=== #2 ===
 
=== #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
 
|preview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301734#three
 
|lrthread=http://www.teamliquid.net/forum/viewmessage.php?topic_id=308196
 
|lrthread=http://www.teamliquid.net/forum/viewmessage.php?topic_id=308196
Line 59: Line 56:
  
 
{{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
 
|preview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301734#three
 
|lrthread=http://www.teamliquid.net/forum/viewmessage.php?topic_id=308196
 
|lrthread=http://www.teamliquid.net/forum/viewmessage.php?topic_id=308196
Line 67: Line 63:
 
}}
 
}}
 
{{GroupTableEnd}}
 
{{GroupTableEnd}}
 
Adapted from [http://wiki.teamliquid.net/starcraft2/Template:GroupTableStart Liquipedia]
 

Revision as of 18:09, 29 April 2017

Begins a group table. This template is used together with the templates {{GroupTableSlot}} and {{GroupTableEnd}}

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.
preview
(Optional) Put a link to a preview here.
lrthread
(Optional) Put a link to the live report thread here.
vod
(Optional) Put a link to the VOD(s) here.
interview
(Optional) Put a link to the interview(s) here.
review
(Optional) Put a link to the review here.
editlink
(Optional) The page name which contains the GroupTableStart, so it can be edited directly.
show_p
(Optional) Set true to display a points column.
win_p
(Optional) Specify number of points awarded for a win. (Default: 3)
tie_p
(Optional) Specify number of points awarded for a tie. (Default: 1)

Examples

#1

{{Template:GroupTableStart|Group D|width=300px}}
{{Template:GroupTableEnd}}

This will result in the following table

Group D

#2

{{GroupTableStart|Group A|width=300px
|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
|interview=http://www.teamliquid.net/forum/viewmessage.php?topic_id=302021
|review=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301952#one
}}
{{GroupTableEnd}}

This will result in the following table

Group A preview lrthread Watch VOD Interview Review