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

From comp.tf
Jump to navigation Jump to search
Line 6: Line 6:
 
         <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="bracket-popup">
<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>}}
 
     <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 19: Line 25:
 
         <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-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>
 
         <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;">
+
         {{#if:{{{R1G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;"><div class="bracket-popup">
<div class="header">
+
{{BracketMatchTeams|
<div class="left">{{#if:{{{R1D3team|}}}|{{Team2/{{{R1D3team}}}}}|{{#if:{{{R1D3|}}}|<span style="vertical-align:-1px;">{{{R1D3}}}</span>{{Team2/tf}}|{{#if:{{{R1D3literal|}}}|{{{R1D3literal}}}|&nbsp;}}}}}}</div>
+
|team1={{{R1D3team|}}}
<div class="right">{{#if:{{{R1D4team|}}}|{{Team1/{{{R1D4team}}}}}|{{#if:{{{R1D4|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R1D4}}}</span>|{{#if:{{{R1D4literal|}}}|{{{R1D4literal}}}|&nbsp;}}}}}}</div></div>
+
|team2={{{R1D4team|}}}
{{{R1G2details}}}</div>}}
+
|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-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-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 class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D4score|}}}</div></div></div>
 
     </div>
 
     </div>
 +
 
   </div>
 
   </div>
 
<div class="bracket-column" style="width:20px">
 
<div class="bracket-column" style="width:20px">
Line 53: Line 66:
 
   <div class="bracket-column" style="width:{{{column-width|150}}}px">
 
   <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 style="height:40px;margin-top:0px">{{#ifeq:true|{{{hideroundtitles}}}||<div class="bracket-header">{{{R2|Qualified}}}</div>}}</div>
    <div class="bracket-game">
+
<div class="bracket-game">
<div class="bracket-cell-r2" style="margin-top:-24px;font-weight:bold">
+
<div class="bracket-cell-r2" style="margin-top:-24px;font-weight:bold">
<div class="bracket-team-middle" style="{{#if:{{{Q1literal}}}||background:#ebebeb;}}">{{#if:{{{Q1team|}}}|{{TeamBracket/{{{Q1team}}}}}|{{#if:{{{Q1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{Q1}}}</span>|{{#if:{{{Q1literal|}}}|{{{Q1literal}}}|&nbsp;}}}}}}
+
<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></div>
+
<div class="bracket-cell-r2" style="font-weight:bold">
</div>
+
<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 class="bracket-game">
+
</div>
      <div class="bracket-cell-r2" style="font-weight:bold">
 
          <div class="bracket-team-middle" style="{{#if:{{{Q2literal}}}||background:#ebebeb;}}">{{#if:{{{Q2team|}}}|{{TeamBracket/{{{Q2team}}}}}|{{#if:{{{Q2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{Q2}}}</span>|{{#if:{{{Q2literal|}}}|{{{Q2literal}}}|&nbsp;}}}}}}
 
          </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]]</noinclude>

Revision as of 22:27, 23 January 2018

(view - edit) Documentation

Quarterfinals
 
 
 
 
Qualified
  Q1
  Q2