Difference between revisions of "Template:GroupTableStart/doc"

From QWiki
m
m (Adding inter-doc links)
 
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
 
:(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 ===
 
 
  <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 43: Line 18:
 
{{Template:GroupTableEnd}}
 
{{Template:GroupTableEnd}}
  
=== #2 ===
+
=== Example #2 ===
 
  <nowiki>{{GroupTableStart|Group A|width=300px
 
  <nowiki>{{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
 
|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 56: Line 27:
  
 
{{GroupTableStart|Group A|width=300px
 
{{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
 
|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
 +
 +
;''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.