Difference between revisions of "Template:GroupTableStart/doc"

From QWiki
(Created page with "Begins a group table. This template is used together with the templates {{tl|GroupTableSlot}} and {{tl|GroupTableEnd}} == Parameters == The following parameters can be used...")
 
m (Added param info for "info")
 
(4 intermediate revisions 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
+
|date=8 March 2030 23:00 CET
|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}}</nowiki>
 
{{GroupTableEnd}}</nowiki>
Line 59: Line 27:
  
 
{{GroupTableStart|Group A|width=300px
 
{{GroupTableStart|Group A|width=300px
|date=April 1,2014
+
|date=8 March 2030 23:00 CET
|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}}
 
{{GroupTableEnd}}
 +
=== Example #3 ===
 +
<nowiki>{{GroupTableStart|Group A|width=300px
 +
|info=This game is very hyped
 +
|date=8 March 2030 23:00 CET
 +
}}
 +
{{GroupTableEnd}}</nowiki>
 +
 +
This will result in the following table
 +
 +
{{GroupTableStart|Group A|width=300px
 +
|info=This game is very hyped
 +
|date=8 March 2030 23:00 CET
 +
}}
 +
{{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 <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.
 +
;info
 +
:(Optional) Set any extra text string, like "Deadline still TBA"
 +
;date
 +
:(Optional) Set the date for the Group, or date with time (format: ''February 21, 2021 18:10'' {{Abbr/CEST}}). If the date is in the future, a countdown will show.
 +
;vod
 +
:(Optional) Put a link to the VOD(s) here.

Latest revision as of 15:49, 24 February 2025

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
|date=8 March 2030 23:00 CET
}}
{{GroupTableEnd}}

This will result in the following table

Group A
8 March 2030 23:00 CET

Example #3

{{GroupTableStart|Group A|width=300px
|info=This game is very hyped
|date=8 March 2030 23:00 CET
}}
{{GroupTableEnd}}

This will result in the following table

Group A
This game is very hyped
8 March 2030 23:00 CET

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.
info
(Optional) Set any extra text string, like "Deadline still TBA"
date
(Optional) Set the date for the Group, or date with time (format: February 21, 2021 18:10 CEST). If the date is in the future, a countdown will show.
vod
(Optional) Put a link to the VOD(s) here.