Difference between revisions of "Template:2SETeamBracket"

From comp.tf
Jump to navigation Jump to search
m (Removed double line)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="bracket-wrapper"><div style="width:{{#expr:{{{column-width|170}}}}}px" class="bracket">
+
<includeonly><div class="bracket-wrapper"><div class="bracket-scroller"><div style="width:{{#expr:{{{column-width|170}}}}}px" class="bracket">
 
   <div class="bracket-column" style="width:{{{column-width|170}}}px">
 
   <div class="bracket-column" style="width:{{{column-width|170}}}px">
     <div style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R1|Finals}}}</div>}}</div>
+
     <div style="height:24px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R1|Finals}}}</div>}}</div>
 
 
 
     <div class="bracket-game">
 
     <div class="bracket-game">
 
     <div class="bracket-cell-r1" style="{{#if:{{{R1D1win|}}}|font-weight:bold}}">
 
     <div class="bracket-cell-r1" style="{{#if:{{{R1D1win|}}}|font-weight:bold}}">
 
         <div class="bracket-team-top" style="{{#if:{{{R1D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D1team|}}}|{{TeamBracket/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D1}}}</span>|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}|&nbsp;}}}}}}
 
         <div class="bracket-team-top" style="{{#if:{{{R1D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D1team|}}}|{{TeamBracket/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D1}}}</span>|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}|&nbsp;}}}}}}
 
         <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D1score|}}}</div></div></div>
 
         <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D1score|}}}</div></div></div>
{{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
+
        {{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
<div class="header">
+
        {{BracketMatchTeams|
<div class="left">{{#if:{{{R1D1team|}}}|{{Team2/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|<span style="vertical-align:-1px;">{{{R1D1}}}</span>{{Team2/tf}}|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}|&nbsp;}}}}}}</div>
+
|team1={{{R1D1team|}}}
<div class="right">{{#if:{{{R1D2team|}}}|{{Team1/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R1D2}}}</span>|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}|&nbsp;}}}}}}</div></div>
+
|team2={{{R1D2team|}}}
{{{R1G1details}}}</div>}}
+
|team1tf={{{R1D1|}}}
 +
|team2tf={{{R1D2|}}}
 +
|team1literal={{{R1D1literal|}}}
 +
|team2literal={{{R1D2literal|}}}
 +
|default={{#if:{{{R1D1default|}}}|1|{{#if:{{{R1D2default|}}}|2}}}}
 +
|details={{{R1G1details|}}}
 +
}}</div>}}
 
     <div class="bracket-cell-r1" style="{{#if:{{{R1D2win|}}}|font-weight:bold}}">
 
     <div class="bracket-cell-r1" style="{{#if:{{{R1D2win|}}}|font-weight:bold}}">
 
         <div class="bracket-team-bottom" style="{{#if:{{{R1D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D2team|}}}|{{TeamBracket/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D2}}}</span>|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}|&nbsp;}}}}}}
 
         <div class="bracket-team-bottom" style="{{#if:{{{R1D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D2team|}}}|{{TeamBracket/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D2}}}</span>|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}|&nbsp;}}}}}}
Line 17: Line 22:
 
     </div>
 
     </div>
 
   </div>
 
   </div>
<div style="clear:left"> </div></div><div class="bracket-push"></div></div>
+
<div style="clear:left"> </div></div><div class="bracket-push"></div></div></div></includeonly><noinclude>{{Documentation}}[[Category:Brackets]][[Category:Source Liquipedia]]
<noinclude>Created on [http://wiki.teamliquid.net/counterstrike/Template:2SETeamBracket Liquipedia]
 
 
 
<nowiki> {{2SEBracket
 
|R1D1={{flag|}} |R1D1score= |R1D1win=
 
|R1D2={{flag|}} |R1D2score= |R1D2win=
 
}} </nowiki>[[Category:Brackets]]</noinclude>
 

Latest revision as of 23:42, 9 March 2017

(view - edit) Documentation

Finals