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

From comp.tf
Jump to navigation Jump to search
 
Line 28: Line 28:
 
         <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 class="bracket-game">
+
<div class="bracket-game">
      <div class="bracket-cell-r1" style="{{#if:{{{R1D5win|}}}|font-weight:bold}}">
+
    <div class="bracket-cell-r1" style="{{#if:{{{R1D5win|}}}|font-weight:bold}}">
         <div class="bracket-player-top" style="{{#if:{{{R1D5race|}}}|background:{{RaceColor|{{{R1D5race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D5flag|}}}|{{FlagNoLink/{{lc:{{{R1D5flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D5|R1D5}}}</span><div class="bracket-score" style="width:21px">{{{R1D5score|}}}</div></div></div>
+
         <div class="bracket-team-top" style="{{#if:{{{R1D5literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D5team|}}}|{{TeamBracket/{{{R1D5team}}}}}|{{#if:{{{R1D5|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D5}}}</span>|{{#if:{{{R1D5literal|}}}|{{{R1D5literal}}}|&nbsp;}}}}}}
         {{#if:{{{R1G3details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
+
        <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D5score|}}}</div></div></div>
          {{BracketMatchPlayers|{{#if:{{{R1D5|}}}|{{{R1D5}}}|TBD}}|{{{R1D5race|}}}|{{#if:{{{R1D6|}}}|{{{R1D6}}}|TBD}}|{{{R1D6race|}}}}} {{{R1G3details}}}</div>}}
+
         {{#if:{{{R1G5details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
      <div class="bracket-cell-r1" style="{{#if:{{{R1D6win|}}}|font-weight:bold}}">
+
<div class="header">
         <div class="bracket-player-bottom" style="{{#if:{{{R1D6race|}}}|background:{{RaceColor|{{{R1D6race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D6flag|}}}|{{FlagNoLink/{{lc:{{{R1D6flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D6|R1D6}}}</span><div class="bracket-score" style="width:21px">{{{R1D6score|}}}</div></div></div>
+
<div class="left">{{#if:{{{R1D5team|}}}|{{Team2/{{{R1D5team}}}}}|{{#if:{{{R1D5|}}}|<span style="vertical-align:-1px;">{{{R1D5}}}</span>{{Team2/tf}}|{{#if:{{{R1D5literal|}}}|{{{R1D5literal}}}|&nbsp;}}}}}}</div>
 +
<div class="right">{{#if:{{{R1D6team|}}}|{{Team1/{{{R1D6team}}}}}|{{#if:{{{R1D6|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R1D6}}}</span>|{{#if:{{{R1D6literal|}}}|{{{R1D6literal}}}|&nbsp;}}}}}}</div></div>
 +
{{{R1G5details}}}</div>}}
 +
    <div class="bracket-cell-r1" style="{{#if:{{{R1D6win|}}}|font-weight:bold}}">
 +
         <div class="bracket-team-bottom" style="{{#if:{{{R1D6literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D6team|}}}|{{TeamBracket/{{{R1D6team}}}}}|{{#if:{{{R1D6|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D6}}}</span>|{{#if:{{{R1D6literal|}}}|{{{R1D6literal}}}|&nbsp;}}}}}}
 +
        <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D6score|}}}</div></div></div>
 
     </div>
 
     </div>
 
     <div class="bracket-game">
 
     <div class="bracket-game">
      <div class="bracket-cell-r1" style="{{#if:{{{R1D7win|}}}|font-weight:bold}}">
+
    <div class="bracket-cell-r1" style="{{#if:{{{R1D7win|}}}|font-weight:bold}}">
         <div class="bracket-player-top" style="{{#if:{{{R1D7race|}}}|background:{{RaceColor|{{{R1D7race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D7flag|}}}|{{FlagNoLink/{{lc:{{{R1D7flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D7|R1D7}}}</span><div class="bracket-score" style="width:21px">{{{R1D7score|}}}</div></div></div>
+
         <div class="bracket-team-top" style="{{#if:{{{R1D7literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D7team|}}}|{{TeamBracket/{{{R1D7team}}}}}|{{#if:{{{R1D7|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D7}}}</span>|{{#if:{{{R1D7literal|}}}|{{{R1D7literal}}}|&nbsp;}}}}}}
         {{#if:{{{R1G4details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|150}}}px;">
+
        <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D7score|}}}</div></div></div>
          {{BracketMatchPlayers|{{#if:{{{R1D7|}}}|{{{R1D7}}}|TBD}}|{{{R1D7race|}}}|{{#if:{{{R1D8|}}}|{{{R1D8}}}|TBD}}|{{{R1D8race|}}}}} {{{R1G4details}}}</div>}}
+
         {{#if:{{{R1G7details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
      <div class="bracket-cell-r1" style="{{#if:{{{R1D8win|}}}|font-weight:bold}}">
+
<div class="header">
         <div class="bracket-player-bottom" style="{{#if:{{{R1D8race|}}}|background:{{RaceColor|{{{R1D8race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;{{#if:{{{R1D8flag|}}}|{{FlagNoLink/{{lc:{{{R1D8flag}}}}}}}}}&nbsp;<span style="vertical-align:-1px;">{{{R1D8|R1D8}}}</span><div class="bracket-score" style="width:21px">{{{R1D8score|}}}</div></div></div>
+
<div class="left">{{#if:{{{R1D7team|}}}|{{Team2/{{{R1D7team}}}}}|{{#if:{{{R1D7|}}}|<span style="vertical-align:-1px;">{{{R1D7}}}</span>{{Team2/tf}}|{{#if:{{{R1D7literal|}}}|{{{R1D7literal}}}|&nbsp;}}}}}}</div>
 +
<div class="right">{{#if:{{{R1D8team|}}}|{{Team1/{{{R1D8team}}}}}|{{#if:{{{R1D8|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R1D8}}}</span>|{{#if:{{{R1D8literal|}}}|{{{R1D8literal}}}|&nbsp;}}}}}}</div></div>
 +
{{{R1G7details}}}</div>}}
 +
    <div class="bracket-cell-r1" style="{{#if:{{{R1D8win|}}}|font-weight:bold}}">
 +
         <div class="bracket-team-bottom" style="{{#if:{{{R1D8literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R1D8team|}}}|{{TeamBracket/{{{R1D8team}}}}}|{{#if:{{{R1D8|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R1D8}}}</span>|{{#if:{{{R1D8literal|}}}|{{{R1D8literal}}}|&nbsp;}}}}}}
 +
        <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R1D8score|}}}</div></div></div>
 
     </div>
 
     </div>
 
   </div>
 
   </div>

Latest revision as of 11:01, 23 May 2016