Difference between revisions of "Template:GroupTableStart/doc"

From comp.tf
Jump to navigation Jump to search
(Created page with "Begins a group table. This template is used together with the templates <nowiki>{{</nowiki>GroupTableSlot<nowiki>}}</nowiki> and <nowiki>{{</nowiki>GroupTableEnd<nowiki>}}</no...")
 
m (Updated)
Line 1: Line 1:
Begins a group table. This template is used together with the templates <nowiki>{{</nowiki>GroupTableSlot<nowiki>}}</nowiki> and <nowiki>{{</nowiki>GroupTableEnd<nowiki>}}</nowiki>
+
Begins a group table. This template is used together with the templates <nowiki>{{</nowiki>[[Template:GroupTableSlot|GroupTableSlot]]<nowiki>}}</nowiki> and <nowiki>{{</nowiki>[[Template:GroupTableEnd|GroupTableEnd]]<nowiki>}}</nowiki>
  
 
== Parameters ==
 
== Parameters ==
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
+
;tftv
:(Optional) Put a link to the VOD(s) here.
+
:(Optional) Put a link to a tftv thread.
:For secondary (tertiary, etc) VOD sources use '''vod2''', '''vod3''' etc.
 
 
;interview
 
;interview
 
:(Optional) Put a link to the interview(s) here.
 
:(Optional) Put a link to the interview(s) here.
Line 32: Line 31:
 
;stream
 
;stream
 
:(Optional) Put in the TL stream name or - if not on TL - the URL to the stream.
 
:(Optional) Put in the TL stream name or - if not on TL - the URL to the stream.
;location
 
:(Optional) Put in the location where the group is being played.
 
 
== Examples ==
 
== 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 44: Line 40:
 
{{GroupTableEnd}}
 
{{GroupTableEnd}}
  
=== #2 ===
 
<nowiki>{{GroupTableStart|Group A|width=300px
 
|date=April 23, 2013 18:10 {{Abbr/KST}}
 
|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
 
|recap=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301952#one
 
}}
 
{{GroupTableEnd}}</nowiki>
 
 
This will result in the following table
 
 
{{GroupTableStart|Group A|width=300px
 
|date=April 23, 2013 18:10 {{Abbr/KST}}
 
|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
 
|recap=http://www.teamliquid.net/forum/viewmessage.php?topic_id=301952#one
 
}}
 
{{GroupTableEnd}}
 
 
== Copy/Paste ==
 
== Copy/Paste ==
 
  <nowiki>
 
  <nowiki>
Line 76: Line 50:
 
{{MatchList|width=415px|title=Group A Matches
 
{{MatchList|width=415px|title=Group A Matches
 
|match1={{MatchMaps
 
|match1={{MatchMaps
|team1= |team2=
 
 
|date= |finished=
 
|date= |finished=
|hltv=
+
|T1= |T2= |winner=
|cevo=
+
|stream=
|winner=
+
|interview=
|games1= |games2=
+
|vod=
|map1= |map1win=
+
|comment=
|walkover=
+
|etf2l=
 +
|esea=
 +
|map1= |map1win= |youtube=  |log=
 +
|map2= |map2win= |vodgame1= |log1=
 +
|default=
 
}}
 
}}
 
|match2={{MatchMaps
 
|match2={{MatchMaps
|team1= |team2=
 
 
|date= |finished=
 
|date= |finished=
|hltv=
+
|T1= |T2= |winner=
|cevo=
+
|stream=
|winner=
+
|interview=
|games1= |games2=
+
|vod=
|map1= |map1win=
+
|comment=
|walkover=
+
|etf2l=
 +
|esea=
 +
|map1= |map1win= |youtube=  |log=
 +
|map2= |map2win= |vodgame1= |log1=
 +
|default=
 
}}
 
}}
 
|match3={{MatchMaps
 
|match3={{MatchMaps
|team1= |team2=
 
 
|date= |finished=
 
|date= |finished=
|hltv=
+
|T1= |T2= |winner=
|cevo=
+
|stream=
|winner=
+
|interview=
|games1= |games2=
+
|vod=
|map1= |map1win=
+
|comment=
|walkover=
+
|etf2l=
 +
|esea=
 +
|map1= |map1win= |youtube=  |log=
 +
|map2= |map2win= |vodgame1= |log1=
 +
|default=
 
}}
 
}}
 
|match4={{MatchMaps
 
|match4={{MatchMaps
|team1= |team2=
 
 
|date= |finished=
 
|date= |finished=
|hltv=
+
|T1= |T2= |winner=
|cevo=
+
|stream=
|winner=
+
|interview=
|games1= |games2=
+
|vod=
|map1= |map1win=
+
|comment=
|walkover=
+
|etf2l=
 +
|esea=
 +
|map1= |map1win= |youtube=  |log=
 +
|map2= |map2win= |vodgame1= |log1=
 +
|default=
 
}}
 
}}
 
|match5={{MatchMaps
 
|match5={{MatchMaps
|team1= |team2=
 
 
|date= |finished=
 
|date= |finished=
|hltv=
+
|T1= |T2= |winner=
|cevo=
+
|stream=
|winner=
+
|interview=
|games1= |games2=
+
|vod=
|map1= |map1win=
+
|comment=
|walkover=
+
|etf2l=
 +
|esea=
 +
|map1= |map1win= |youtube=  |log=
 +
|map2= |map2win= |vodgame1= |log1=
 +
|default=
 
}}
 
}}
 
|match6={{MatchMaps
 
|match6={{MatchMaps
|team1= |team2=
 
 
|date= |finished=
 
|date= |finished=
|hltv=
+
|T1= |T2= |winner=
|cevo=
+
|stream=
|winner=
+
|interview=
|games1= |games2=
+
|vod=
|map1= |map1win=
+
|comment=
|walkover=
+
|etf2l=
 +
|esea=
 +
|map1= |map1win= |youtube=  |log=
 +
|map2= |map2win= |vodgame1= |log1=
 +
|default=
 
}}
 
}}
 
}}
 
}}
 
</nowiki>
 
</nowiki>

Revision as of 18:50, 30 July 2015

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.
tftv
(Optional) Put a link to a tftv thread.
interview
(Optional) Put a link to the interview(s) here.
recap
(Optional) Put a link to the recap here.
date
(Optional) Put the date here. It will display between the title row and the first group slot.
finished
(Optional) Put in "true" if the group has already finished.
stream
(Optional) Put in the TL stream name or - if not on TL - the URL to the stream.

Examples

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

This will result in the following table

Group D

Copy/Paste

{{GroupTableStart|Group A|width=415px|date=}}
{{GroupTableSlot|{{team/}} |place=1|win_m=|draw_m=|lose_m=|win_r=|lose_r=|diff=|pbg=up}}
{{GroupTableSlot|{{team/}} |place=2|win_m=|draw_m=|lose_m=|win_r=|lose_r=|diff=|pbg=up}}
{{GroupTableSlot|{{team/}} |place=3|win_m=|draw_m=|lose_m=|win_r=|lose_r=|diff=|pbg=down}}
{{GroupTableSlot|{{team/}} |place=4|win_m=|draw_m=|lose_m=|win_r=|lose_r=|diff=|pbg=down}}
{{GroupTableEnd}}
{{MatchList|width=415px|title=Group A Matches
|match1={{MatchMaps
|date= |finished=
|T1= |T2= |winner=
|stream=
|interview=
|vod=
|comment=
|etf2l=
|esea=
|map1= |map1win= |youtube=  |log=
|map2= |map2win= |vodgame1= |log1=
|default=
}}
|match2={{MatchMaps
|date= |finished=
|T1= |T2= |winner=
|stream=
|interview=
|vod=
|comment=
|etf2l=
|esea=
|map1= |map1win= |youtube=  |log=
|map2= |map2win= |vodgame1= |log1=
|default=
}}
|match3={{MatchMaps
|date= |finished=
|T1= |T2= |winner=
|stream=
|interview=
|vod=
|comment=
|etf2l=
|esea=
|map1= |map1win= |youtube=  |log=
|map2= |map2win= |vodgame1= |log1=
|default=
}}
|match4={{MatchMaps
|date= |finished=
|T1= |T2= |winner=
|stream=
|interview=
|vod=
|comment=
|etf2l=
|esea=
|map1= |map1win= |youtube=  |log=
|map2= |map2win= |vodgame1= |log1=
|default=
}}
|match5={{MatchMaps
|date= |finished=
|T1= |T2= |winner=
|stream=
|interview=
|vod=
|comment=
|etf2l=
|esea=
|map1= |map1win= |youtube=  |log=
|map2= |map2win= |vodgame1= |log1=
|default=
}}
|match6={{MatchMaps
|date= |finished=
|T1= |T2= |winner=
|stream=
|interview=
|vod=
|comment=
|etf2l=
|esea=
|map1= |map1win= |youtube=  |log=
|map2= |map2win= |vodgame1= |log1=
|default=
}}
}}