Difference between revisions of "Template:ETF2LGroupTableStart/doc"

From comp.tf
Jump to navigation Jump to search
m (uncommented copy/paste)
m
 
(4 intermediate revisions by the same user not shown)
Line 42: Line 42:
 
== Copy/Paste ==
 
== Copy/Paste ==
 
  <nowiki>
 
  <nowiki>
{{GroupTableStart|Group A|width=415px|date=}}
+
{{ETF2LGroupTableStart|Group A|width=415px|date=}}
{{GroupTableSlot|{{team/}} |pos=1|win=|lose=|gcw=|gcl=|bg=up}}
+
{{ETF2LGroupTableSlot|{{team/}} |pos=1|win=|lose=|gcw=|gcl=|bg=up}}
{{GroupTableSlot|{{team/}} |pos=2|win=|lose=|gcw=|gcl=|bg=up}}
+
{{ETF2LGroupTableSlot|{{team/}} |pos=2|win=|lose=|gcw=|gcl=|bg=up}}
{{GroupTableSlot|{{team/}} |pos=3|win=|lose=|gcw=|gcl=|bg=down}}
+
{{ETF2LGroupTableSlot|{{team/}} |pos=3|win=|lose=|gcw=|gcl=|bg=down}}
{{GroupTableSlot|{{team/}} |pos=4|win=|lose=|gcw=|gcl=|bg=down}}
+
{{ETF2LGroupTableSlot|{{team/}} |pos=4|win=|lose=|gcw=|gcl=|bg=down}}
 
{{GroupTableEnd}}
 
{{GroupTableEnd}}
 
{{MatchList|width=415px|title=Group A Matches
 
{{MatchList|width=415px|title=Group A Matches
 
|match1={{MatchMaps
 
|match1={{MatchMaps
|date= |finished=
+
|team1= |team2= |winner=
|T1= |T2= |winner=
+
|details={{BracketMatchSummary
|stream=
+
  |date= |finished=
|interview=
+
  | match1={{Game
|vod=
+
    | t1score=
|comment=
+
    | t2score=
|etf2l=
+
    | map=
|map1= |map1win= |youtube= |log=
+
    | win=
|map2= |map2win= |youtube1= |log1=
+
  }}
|default=
+
  | match2={{Game
 +
    | t1score=
 +
    | t2score=
 +
    | map=
 +
    | win=
 +
  }}
 +
  | details={{Details
 +
    | log1=
 +
    | log1gc=
 +
    | log2=
 +
    | log2gc=
 +
    | vod1=
 +
    | vod2=
 +
    | etf2l=
 +
  }}
 +
}}
 
}}
 
}}
 
|match2={{MatchMaps
 
|match2={{MatchMaps
|date= |finished=
+
|team1= |team2= |winner=
|T1= |T2= |winner=
+
|details={{BracketMatchSummary
|stream=
+
  |date= |finished=
|interview=
+
  | match1={{Game
|vod=
+
    | t1score=
|comment=
+
    | t2score=
|etf2l=
+
    | map=
|map1= |map1win= |youtube= |log=
+
    | win=
|map2= |map2win= |youtube1= |log1=
+
  }}
|default=
+
  | match2={{Game
 +
    | t1score=
 +
    | t2score=
 +
    | map=
 +
    | win=
 +
  }}
 +
  | details={{Details
 +
    | log1=
 +
    | log1gc=
 +
    | log2=
 +
    | log2gc=
 +
    | vod1=
 +
    | vod2=
 +
    | etf2l=
 +
  }}
 +
}}
 
}}
 
}}
 
|match3={{MatchMaps
 
|match3={{MatchMaps
|date= |finished=
+
|team1= |team2= |winner=
|T1= |T2= |winner=
+
|details={{BracketMatchSummary
|stream=
+
  |date= |finished=
|interview=
+
  | match1={{Game
|vod=
+
    | t1score=
|comment=
+
    | t2score=
|etf2l=
+
    | map=
|map1= |map1win= |youtube= |log=
+
    | win=
|map2= |map2win= |youtube1= |log1=
+
  }}
|default=
+
  | match2={{Game
 +
    | t1score=
 +
    | t2score=
 +
    | map=
 +
    | win=
 +
  }}
 +
  | details={{Details
 +
    | log1=
 +
    | log1gc=
 +
    | log2=
 +
    | log2gc=
 +
    | vod1=
 +
    | vod2=
 +
    | etf2l=
 +
  }}
 +
}}
 
}}
 
}}
 
|match4={{MatchMaps
 
|match4={{MatchMaps
|date= |finished=
+
|team1= |team2= |winner=
|T1= |T2= |winner=
+
|details={{BracketMatchSummary
|stream=
+
  |date= |finished=
|interview=
+
  | match1={{Game
|vod=
+
    | t1score=
|comment=
+
    | t2score=
|etf2l=
+
    | map=
|map1= |map1win= |youtube= |log=
+
    | win=
|map2= |map2win= |youtube1= |log1=
+
  }}
|default=
+
  | match2={{Game
}}ault=
+
    | t1score=
 +
    | t2score=
 +
    | map=
 +
    | win=
 +
  }}
 +
  | details={{Details
 +
    | log1=
 +
    | log1gc=
 +
    | log2=
 +
    | log2gc=
 +
    | vod1=
 +
    | vod2=
 +
    | etf2l=
 +
  }}
 +
}}
 
}}
 
}}
 
|match5={{MatchMaps
 
|match5={{MatchMaps
|date= |finished=
+
|team1= |team2= |winner=
|T1= |T2= |winner=
+
|details={{BracketMatchSummary
|stream=
+
  |date= |finished=
|interview=
+
  | match1={{Game
|vod=
+
    | t1score=
|comment=
+
    | t2score=
|etf2l=
+
    | map=
|map1= |map1win= |youtube= |log=
+
    | win=
|map2= |map2win= |youtube1= |log1=
+
  }}
|default=
+
  | match2={{Game
 +
    | t1score=
 +
    | t2score=
 +
    | map=
 +
    | win=
 +
  }}
 +
  | details={{Details
 +
    | log1=
 +
    | log1gc=
 +
    | log2=
 +
    | log2gc=
 +
    | vod1=
 +
    | vod2=
 +
    | etf2l=
 +
  }}
 +
}}
 
}}
 
}}
 
|match6={{MatchMaps
 
|match6={{MatchMaps
|date= |finished=
+
|team1= |team2= |winner=
|T1= |T2= |winner=
+
|details={{BracketMatchSummary
|stream=
+
  |date= |finished=
|interview=
+
  | match1={{Game
|vod=
+
    | t1score=
|comment=
+
    | t2score=
|etf2l=
+
    | map=
|map1= |map1win= |youtube= |log=
+
    | win=
|map2= |map2win= |youtube1= |log1=
+
  }}
|default=
+
  | match2={{Game
 +
    | t1score=
 +
    | t2score=
 +
    | map=
 +
    | win=
 +
  }}
 +
  | details={{Details
 +
    | log1=
 +
    | log1gc=
 +
    | log2=
 +
    | log2gc=
 +
    | vod1=
 +
    | vod2=
 +
    | etf2l=
 +
  }}
 +
}}
 
}}
 
}}
 
}}
 
}}
 
</nowiki>
 
</nowiki>

Latest revision as of 11:14, 12 September 2015

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

Parameters[edit]

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[edit]

{{Template:ETF2LGroupTableStart|Group D}}
{{Template:GroupTableEnd}}

This will result in the following table

Group D
Team Pld W L GCW GCL Pen Pts

Copy/Paste[edit]

{{ETF2LGroupTableStart|Group A|width=415px|date=}}
{{ETF2LGroupTableSlot|{{team/}} |pos=1|win=|lose=|gcw=|gcl=|bg=up}}
{{ETF2LGroupTableSlot|{{team/}} |pos=2|win=|lose=|gcw=|gcl=|bg=up}}
{{ETF2LGroupTableSlot|{{team/}} |pos=3|win=|lose=|gcw=|gcl=|bg=down}}
{{ETF2LGroupTableSlot|{{team/}} |pos=4|win=|lose=|gcw=|gcl=|bg=down}}
{{GroupTableEnd}}
{{MatchList|width=415px|title=Group A Matches
|match1={{MatchMaps
|team1= |team2= |winner=
|details={{BracketMatchSummary
   |date= |finished=
   | match1={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | match2={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | details={{Details
     | log1=
     | log1gc=
     | log2=
     | log2gc=
     | vod1=
     | vod2=
     | etf2l=
   }}
 }}
}}
|match2={{MatchMaps
|team1= |team2= |winner=
|details={{BracketMatchSummary
   |date= |finished=
   | match1={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | match2={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | details={{Details
     | log1=
     | log1gc=
     | log2=
     | log2gc=
     | vod1=
     | vod2=
     | etf2l=
   }}
 }}
}}
|match3={{MatchMaps
|team1= |team2= |winner=
|details={{BracketMatchSummary
   |date= |finished=
   | match1={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | match2={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | details={{Details
     | log1=
     | log1gc=
     | log2=
     | log2gc=
     | vod1=
     | vod2=
     | etf2l=
   }}
 }}
}}
|match4={{MatchMaps
|team1= |team2= |winner=
|details={{BracketMatchSummary
   |date= |finished=
   | match1={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | match2={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | details={{Details
     | log1=
     | log1gc=
     | log2=
     | log2gc=
     | vod1=
     | vod2=
     | etf2l=
   }}
 }}
}}
|match5={{MatchMaps
|team1= |team2= |winner=
|details={{BracketMatchSummary
   |date= |finished=
   | match1={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | match2={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | details={{Details
     | log1=
     | log1gc=
     | log2=
     | log2gc=
     | vod1=
     | vod2=
     | etf2l=
   }}
 }}
}}
|match6={{MatchMaps
|team1= |team2= |winner=
|details={{BracketMatchSummary
   |date= |finished=
   | match1={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | match2={{Game
     | t1score=
     | t2score=
     | map=
     | win=
   }}
   | details={{Details
     | log1=
     | log1gc=
     | log2=
     | log2gc=
     | vod1=
     | vod2=
     | etf2l=
   }}
 }}
}}
}}