Difference between revisions of "Template:1Qual-2SETeamBracket"

From comp.tf
Jump to navigation Jump to search
(Undo revision 57336 by Cirlo (talk))
 
Line 1: Line 1:
<includeonly><div class="bracket-wrapper"><div class="bracket-scroller"><div style="width:{{#expr:{{{column-width|150}}}*2+21}}px" class="bracket">
+
<includeonly><div class="bracket-wrapper"><div class="bracket-scroller"><div style="width:{{#expr:{{{column-width|170}}}*2+25}}px" class="bracket">
   <div class="bracket-column" style="width:{{{column-width|150}}}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|Quarterfinals}}}</div>}}</div>
+
<div style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R1|Round of 2}}}</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;"><div class="bracket-popup">
+
{{#if:{{{R1G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"><div class="bracket-popup">
{{BracketMatchTeams|
+
{{BracketMatchTeams|
|team1={{{R1D1team|}}}
+
|team1={{{R1D1team|}}}
|team2={{{R1D2team|}}}
+
|team2={{{R1D2team|}}}
|team1tf={{{R1D1|}}}
+
|team1tf={{{R1D1|}}}
|team2tf={{{R1D2|}}}
+
|team2tf={{{R1D2|}}}
|team1literal={{{R1D1literal|}}}
+
|team1literal={{{R1D1literal|}}}
|team2literal={{{R1D2literal|}}}
+
|team2literal={{{R1D2literal|}}}
|default={{#if:{{{R1D1default|}}}|1|{{#if:{{{R1D2default|}}}|2}}}}
+
|default={{#if:{{{R1D1default|}}}|1|{{#if:{{{R1D2default|}}}|2}}}}
|details={{{R1G1details|}}}
+
|details={{{R1G1details|}}}
}}</div></div>}}
+
}}</div></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;}}}}}}
        <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D2score|}}}</div></div></div>
+
<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D2score|}}}</div></div></div>
    </div>
+
</div>
    <div class="bracket-game">
 
    <div class="bracket-cell-r1" style="{{#if:{{{R1D3win|}}}|font-weight:bold}}">
 
        <div class="bracket-team-top" style="{{#if:{{{R1D3literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D3team|}}}|{{TeamBracket/{{{R1D3team}}}}}|{{#if:{{{R1D3|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D3}}}</span>|{{#if:{{{R1D3literal|}}}|{{{R1D3literal}}}|&nbsp;}}}}}}
 
        <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D3score|}}}</div></div></div>
 
        {{#if:{{{R1G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"><div class="bracket-popup">
 
{{BracketMatchTeams|
 
|team1={{{R1D3team|}}}
 
|team2={{{R1D4team|}}}
 
|team1tf={{{R1D3|}}}
 
|team2tf={{{R1D4|}}}
 
|team1literal={{{R1D3literal|}}}
 
|team2literal={{{R1D4literal|}}}
 
|default={{#if:{{{R1D3default|}}}|1|{{#if:{{{R1D4default|}}}|2}}}}
 
|details={{{R1G2details|}}}
 
}}</div></div>}}
 
    <div class="bracket-cell-r1" style="{{#if:{{{R1D4win|}}}|font-weight:bold}}">
 
        <div class="bracket-team-bottom" style="{{#if:{{{R1D4literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D4team|}}}|{{TeamBracket/{{{R1D4team}}}}}|{{#if:{{{R1D4|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D4}}}</span>|{{#if:{{{R1D4literal|}}}|{{{R1D4literal}}}|&nbsp;}}}}}}
 
        <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D4score|}}}</div></div></div>
 
    </div>
 
 
 
 
   </div>
 
   </div>
<div class="bracket-column" style="width:20px">
+
  <div class="bracket-column" style="width:20px">
<div style="float:left;width:9px">
+
<div style="float:left;width:20px">
<div style="width:9px;height:54px;"> </div>
+
<div style="width:20px;height:75px"> </div>
<div style="width:11px;height:21px;border-bottom:solid #aaa 2px"> </div>
+
<div style="width:20px;height:0px;border:solid #aaa;border-width:2px 0 0 0"> </div>
<div style="width:9px;height:23px;"> </div>
 
 
</div>
 
</div>
<div style="float:left;width:9px;">
+
  </div>
<div style="width:9px;height:54px;"> </div>
+
  <div class="bracket-column bracket-column-matches" style="width:{{{column-width|170}}}px">
<div style="width:11px;height:21px;border-bottom:solid #aaa 2px"> </div>
+
<div style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R4|Qualified}}}</div>}}</div>
<div style="width:9px;height:23px;"> </div>
+
<div class="bracket-game">
 +
<div class="bracket-cell-r2" style="height:48px;{{#if:{{{Q1win|}}}|font-weight:bold}}">
 +
<div class="bracket-team-middle" style="{{#if:{{{Q1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{Q1team|}}}|{{TeamBracket/{{{Q1team}}}}}|{{#if:{{{Q1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{Q1}}}</span>|{{#if:{{{Q1literal|}}}|{{{Q1literal}}}|&nbsp;}}}}}}
 +
</div></div>
 
</div>
 
</div>
<div style="float:left;width:9px">
 
<div style="width:9px;height:26px;"> </div>
 
<div style="width:11px;height:21px;border-bottom:solid #aaa 2px"> </div>
 
<div style="width:9px;height:23px;"> </div>
 
</div>
 
<div style="float:left;width:9px;">
 
<div style="width:9px;height:26px;"> </div>
 
<div style="width:11px;height:21px;border-bottom:solid #aaa 2px"> </div>
 
<div style="width:9px;height:23px;"> </div>
 
</div>
 
<div style="float:left;width:9px">
 
<div style="width:9px;height:26px;"> </div>
 
<div style="width:11px;height:21px;border-bottom:solid #aaa 2px"> </div>
 
<div style="width:9px;height:23px;"> </div>
 
</div>
 
<div style="float:left;width:9px;">
 
<div style="width:9px;height:26px;"> </div>
 
<div style="width:11px;height:21px;border-bottom:solid #aaa 2px"> </div>
 
<div style="width:9px;height:23px;"> </div>
 
</div>
 
<div style="float:left;width:9px">
 
<div style="width:9px;height:26px;"> </div>
 
<div style="width:11px;height:21px;border-bottom:solid #aaa 2px"> </div>
 
<div style="width:9px;height:23px;"> </div>
 
</div>
 
<div style="float:left;width:9px;">
 
<div style="width:9px;height:26px;"> </div>
 
<div style="width:11px;height:21px;border-bottom:solid #aaa 2px"> </div>
 
<div style="width:9px;height:23px;"> </div>
 
</div>
 
  </div>
 
  <div class="bracket-column" style="width:{{{column-width|150}}}px">
 
    <div style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R2|Qualified}}}</div>}}</div>
 
<div class="bracket-game">
 
<div class="bracket-cell-r2" style="margin-top:-24px;font-weight:bold">
 
<div class="bracket-player-middle" style="{{#if:{{{Q1race|}}}|background:{{RaceColor|{{{Q1race}}}}};}}">&nbsp;{{#if:{{{Q1flag|}}}|{{FlagNoLink/{{lc:{{{Q1flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{Q1|Q1}}}</span></div></div>
 
<div class="bracket-cell-r2" style="font-weight:bold">
 
<div class="bracket-player-middle" style="{{#if:{{{Q2race|}}}|background:{{RaceColor|{{{Q2race}}}}};}}">&nbsp;{{#if:{{{Q2flag|}}}|{{FlagNoLink/{{lc:{{{Q2flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{Q2|Q2}}}</span></div></div>
 
</div>
 
 
   </div>
 
   </div>
<div style="clear:left"> </div></div><div class="bracket-push"></div></div></div></includeonly><noinclude>{{documentation}} [[Category:Brackets]]</noinclude>
+
<div style="clear:left"> </div></div><div class="bracket-push"></div></div></div></includeonly><noinclude>{{Documentation}}[[Category:Brackets]][[Category:Team Brackets]][[Category:Source Liquipedia]]

Latest revision as of 22:25, 23 January 2018

(view - edit) Documentation

Round of 2
R1D1
R1D2
Qualified
Q1

Copy/Paste

Simple bracket with no further details

{{1Qual-2SETeamBracket
<!-- UPPER ROUND 1 -->
|R1D1team= |R1D1score= |R1D1win=
|R1D2team= |R1D2score= |R1D2win=

<!-- QUALIFIED -->
|Q1team= |Q1win=
}}

Bracket with maps, bo3

{{1Qual-2SETeamBracket
<!-- UPPER ROUND 1 -->
|R1D1team= |R1D1score= |R1D1win= |R1D1default=
|R1D2team= |R1D2score= |R1D2win= |R1D2default=
|R1G1details={{BracketMatchSummary 
   |date= |stream= |finished=
   | match1={{Game | t1score= | t2score= | map= | win= }}
   | match2={{Game | t1score= | t2score= | map= | win= }}
   | match3={{Game | t1score= | t2score= | map= | unplayed= }}
   | details={{Details
     |log1= |log1gc= |log2= |log2gc= |log3= |log3gc=
     |vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= 
     |etf2l= |interview=
     }}
   | sub1= |replaced1=
   | comment=
 }}
 
<!-- QUALIFIED -->
|Q1team= |Q1win=
}}