Difference between revisions of "Template:ESEA LAN bracket"

From comp.tf
Jump to navigation Jump to search
(Adapting template from Liquipedia)
 
(Adjusting field names)
Line 5: Line 5:
 
     <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-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D1|R1D1}}}</span><div class="bracket-score" style="width:21px">{{{R1D1score|}}}</div></div></div>
+
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D1team|R1D1}}}</span><div class="bracket-score" style="width:21px">{{{R1D1score|}}}</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-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D2|R1D2}}}</span><div class="bracket-score" style="width:21px">{{{R1D2score|}}}</div></div></div>
+
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D2team|R1D2}}}</span><div class="bracket-score" style="width:21px">{{{R1D2score|}}}</div></div></div>
 
     </div>
 
     </div>
 
     <div class="bracket-game">
 
     <div class="bracket-game">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D3win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D3win|}}}|font-weight:bold}}">
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D3|R1D3}}}</span><div class="bracket-score" style="width:21px">{{{R1D3score|}}}</div></div></div>
+
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D3team|R1D3}}}</span><div class="bracket-score" style="width:21px">{{{R1D3score|}}}</div></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-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D4|R1D4}}}</span><div class="bracket-score" style="width:21px">{{{R1D4score|}}}</div></div></div>
+
         <div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D4team|R1D4}}}</span><div class="bracket-score" style="width:21px">{{{R1D4score|}}}</div></div></div>
 
     </div>
 
     </div>
 
   </div>
 
   </div>
Line 36: Line 36:
 
     <div class="bracket-game">
 
     <div class="bracket-game">
 
       <div class="bracket-cell-r2" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r2" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R2W1|R2W1}}}</span><div class="bracket-score" style="width:21px">{{{R2W1score|}}}</div></div></div>
+
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R2W1team|R2W1}}}</span><div class="bracket-score" style="width:21px">{{{R2W1score|}}}</div></div></div>
 
       <div class="bracket-cell-r2" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r2" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}">
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R2W2|R2W2}}}</span><div class="bracket-score" style="width:21px">{{{R2W2score|}}}</div></div></div>
+
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R2W2team|R2W2}}}</span><div class="bracket-score" style="width:21px">{{{R2W2score|}}}</div></div></div>
 
     </div>
 
     </div>
 
   </div>
 
   </div>
Line 45: Line 45:
 
     <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="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D5|R1D5}}}</span><div class="bracket-score" style="width:21px">{{{R1D5score|}}}</div></div></div>
+
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D5team|R1D5}}}</span><div class="bracket-score" style="width:21px">{{{R1D5score|}}}</div></div></div>
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D6win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R1D6win|}}}|font-weight:bold}}">
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D6|R1D6}}}</span><div class="bracket-score" style="width:21px">{{{R1D6score|}}}</div></div></div>
+
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R1D6team|R1D6}}}</span><div class="bracket-score" style="width:21px">{{{R1D6score|}}}</div></div></div>
 
     </div>
 
     </div>
 
   </div>
 
   </div>
Line 66: Line 66:
 
     <div class="bracket-game">
 
     <div class="bracket-game">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R2D1win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R2D1win|}}}|font-weight:bold}}">
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R2D1|R2D1}}}</span><div class="bracket-score" style="width:21px">{{{R2D1score|}}}</div></div></div>
+
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R2D1team|R2D1}}}</span><div class="bracket-score" style="width:21px">{{{R2D1score|}}}</div></div></div>
 
       <div class="bracket-cell-r1" style="{{#if:{{{R2W3win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R2W3win|}}}|font-weight:bold}}">
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R2W3|R2W3}}}</span><div class="bracket-score" style="width:21px">{{{R2W3score|}}}</div></div></div>
+
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R2W3team|R2W3}}}</span><div class="bracket-score" style="width:21px">{{{R2W3score|}}}</div></div></div>
 
     </div>
 
     </div>
 
   </div>
 
   </div>
Line 92: Line 92:
 
     <div class="bracket-game">
 
     <div class="bracket-game">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R3W1win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R3W1win|}}}|font-weight:bold}}">
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R3W1|R3W1}}}</span><div class="bracket-score" style="width:21px;{{#if:{{{R3W1score2|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}">{{{R3W1score|}}}</div>{{#if:{{{R3W1score2|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W1score2|}}}</div>}}</div></div>
+
         <div class="bracket-player-top" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R3W1team|R3W1}}}</span><div class="bracket-score" style="width:21px;{{#if:{{{R3W1score2|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}">{{{R3W1score|}}}</div>{{#if:{{{R3W1score2|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W1score2|}}}</div>}}</div></div>
 
       <div class="bracket-cell-r1" style="{{#if:{{{R3W2win|}}}|font-weight:bold}}">
 
       <div class="bracket-cell-r1" style="{{#if:{{{R3W2win|}}}|font-weight:bold}}">
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R3W2|R3W2}}}</span><div class="bracket-score" style="width:21px;{{#if:{{{R3W2score2|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}">{{{R3W2score|}}}</div>{{#if:{{{R3W2score2|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W2score2|}}}</div>}}</div></div>
+
<div class="bracket-player-bottom" style="padding-right:{{#expr:{{{score-width|21}}}+2}}px">&nbsp;<span style="vertical-align:-1px;">{{{R3W2team|R3W2}}}</span><div class="bracket-score" style="width:21px;{{#if:{{{R3W2score2|}}}|right:{{#expr:{{{score-width|21}}}+1}}px}}">{{{R3W2score|}}}</div>{{#if:{{{R3W2score2|}}}|<div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W2score2|}}}</div>}}</div></div>
 
     </div>
 
     </div>
 
   </div>
 
   </div>

Revision as of 17:12, 4 August 2013

Upper Round 1
 R1D1
 R1D2
 R1D3
 R1D4
Upper Round 2
 R2W1
 R2W2
Lower Round 1
 R1D5
 R1D6
Lower Round 2
 R2D1
 R2W3
Championship Round
 R3W1
 R3W2

This template was created on Liquipedia.