Difference between revisions of "Template:4SEKoTHTeamBracket"

From comp.tf
Jump to navigation Jump to search
(Created page with "<includeonly><div class="bracket-wrapper"><div style="width:{{#expr:{{{column-width|170}}}*3+40}}px" class="bracket"> <div class="bracket-column" style="width:{{{column-widt...")
 
m
Line 4: Line 4:
 
     <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/{{{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">
+
        <div class="header">
<div class="left">{{#if:{{{R1D1team|}}}|{{Team2/{{{R1D1team}}}}}|{{#if:{{{R1D1|}}}|<span style="vertical-align:-1px;">{{{R1D1}}}</span>{{Team2/tf}}|{{#if:{{{R1D1literal|}}}|{{{R1D1literal}}}|&nbsp;}}}}}}</div>
+
<div class="left">{{#if:{{{R3D1team|}}}|{{Team2/{{{R3D1team}}}}}|{{#if:{{{R3D1|}}}|<span style="vertical-align:-1px;">{{{R3D1}}}</span>{{Team2/tf}}|{{#if:{{{R3D1literal|}}}|{{{R3D1literal}}}|&nbsp;}}}}}}</div>
<div class="right">{{#if:{{{R1D2team|}}}|{{Team1/{{{R1D2team}}}}}|{{#if:{{{R1D2|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R1D2}}}</span>|{{#if:{{{R1D2literal|}}}|{{{R1D2literal}}}|&nbsp;}}}}}}</div></div>
+
<div class="right">{{#if:{{{R3D2team|}}}|{{Team1/{{{R3D2team}}}}}|{{#if:{{{R3D2|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R3D2}}}</span>|{{#if:{{{R3D2literal|}}}|{{{R3D2literal}}}|&nbsp;}}}}}}</div></div>
 
{{{R1G1details}}}</div>}}
 
{{{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/cs}}<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>
Line 33: Line 34:
 
     <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-team-top" style="{{#if:{{{R2D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D1team|}}}|{{TeamBracket/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|{{TeamBracket/cs}}<span style="vertical-align:-1px;">{{{R2D1}}}</span>|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}|&nbsp;}}}}}}
+
         <div class="bracket-team-top" style="{{#if:{{{R2D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D1team|}}}|{{TeamBracket/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2D1}}}</span>|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}|&nbsp;}}}}}}
 
         <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2D1score|}}}</div></div></div>
 
         <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2D1score|}}}</div></div></div>
        {{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
+
                {{#if:{{{R2G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
 
         <div class="header">
 
         <div class="header">
 
<div class="left">{{#if:{{{R2D1team|}}}|{{Team2/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|<span style="vertical-align:-1px;">{{{R2D1}}}</span>{{Team2/tf}}|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}|&nbsp;}}}}}}</div>
 
<div class="left">{{#if:{{{R2D1team|}}}|{{Team2/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|<span style="vertical-align:-1px;">{{{R2D1}}}</span>{{Team2/tf}}|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}|&nbsp;}}}}}}</div>
Line 41: Line 42:
 
{{{R2G1details}}}</div>}}
 
{{{R2G1details}}}</div>}}
 
     <div class="bracket-cell-r1" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
 
     <div class="bracket-cell-r1" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
         <div class="bracket-team-bottom" style="{{#if:{{{R2W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W1team|}}}|{{TeamBracket/{{{R2W1team}}}}}|{{#if:{{{R2W1|}}}|{{TeamBracket/cs}}<span style="vertical-align:-1px;">{{{R2W1}}}</span>|{{#if:{{{R2W1literal|}}}|{{{R2W1literal}}}|&nbsp;}}}}}}
+
    <div class="bracket-cell-r1" style="{{#if:{{{R2W1win|}}}|font-weight:bold}}">
 +
         <div class="bracket-team-bottom" style="{{#if:{{{R2W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W1team|}}}|{{TeamBracket/{{{R2W1team}}}}}|{{#if:{{{R2W1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W1}}}</span>|{{#if:{{{R2W1literal|}}}|{{{R2W1literal}}}|&nbsp;}}}}}}
 
         <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2W1score|}}}</div></div></div>
 
         <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R2W1score|}}}</div></div></div>
 
     </div>
 
     </div>
Line 62: Line 64:
 
     <div class="bracket-game">
 
     <div class="bracket-game">
 
     <div class="bracket-cell-r1" style="{{#if:{{{R3D1win|}}}|font-weight:bold}}">
 
     <div class="bracket-cell-r1" style="{{#if:{{{R3D1win|}}}|font-weight:bold}}">
         <div class="bracket-team-top" style="{{#if:{{{R3D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3D1team|}}}|{{TeamBracket/{{{R3D1team}}}}}|{{#if:{{{R3D1|}}}|{{TeamBracket/cs}}<span style="vertical-align:-1px;">{{{R3D1}}}</span>|{{#if:{{{R3D1literal|}}}|{{{R3D1literal}}}|&nbsp;}}}}}}
+
         <div class="bracket-team-top" style="{{#if:{{{R3D1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3D1team|}}}|{{TeamBracket/{{{R3D1team}}}}}|{{#if:{{{R3D1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R3D1}}}</span>|{{#if:{{{R3D1literal|}}}|{{{R3D1literal}}}|&nbsp;}}}}}}
 
         <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3D1score|}}}</div></div></div>
 
         <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3D1score|}}}</div></div></div>
 
         {{#if:{{{R3G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
 
         {{#if:{{{R3G1details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
      <div class="header">
+
                <div class="header">
 
<div class="left">{{#if:{{{R3D1team|}}}|{{Team2/{{{R3D1team}}}}}|{{#if:{{{R3D1|}}}|<span style="vertical-align:-1px;">{{{R3D1}}}</span>{{Team2/tf}}|{{#if:{{{R3D1literal|}}}|{{{R3D1literal}}}|&nbsp;}}}}}}</div>
 
<div class="left">{{#if:{{{R3D1team|}}}|{{Team2/{{{R3D1team}}}}}|{{#if:{{{R3D1|}}}|<span style="vertical-align:-1px;">{{{R3D1}}}</span>{{Team2/tf}}|{{#if:{{{R3D1literal|}}}|{{{R3D1literal}}}|&nbsp;}}}}}}</div>
 
<div class="right">{{#if:{{{R3W1team|}}}|{{Team1/{{{R3W1team}}}}}|{{#if:{{{R3W1|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R3W1}}}</span>|{{#if:{{{R3W1literal|}}}|{{{R3W1literal}}}|&nbsp;}}}}}}</div></div>
 
<div class="right">{{#if:{{{R3W1team|}}}|{{Team1/{{{R3W1team}}}}}|{{#if:{{{R3W1|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R3W1}}}</span>|{{#if:{{{R3W1literal|}}}|{{{R3W1literal}}}|&nbsp;}}}}}}</div></div>
 
{{{R3G1details}}}</div>}}
 
{{{R3G1details}}}</div>}}
 
     <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-team-bottom" style="{{#if:{{{R3W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3W1team|}}}|{{TeamBracket/{{{R3W1team}}}}}|{{#if:{{{R3W1|}}}|{{TeamBracket/cs}}<span style="vertical-align:-1px;">{{{R3W1}}}</span>|{{#if:{{{R3W1literal|}}}|{{{R3W1literal}}}|&nbsp;}}}}}}
+
         <div class="bracket-team-bottom" style="{{#if:{{{R3W1literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R3W1team|}}}|{{TeamBracket/{{{R3W1team}}}}}|{{#if:{{{R3W1|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R3W1}}}</span>|{{#if:{{{R3W1literal|}}}|{{{R3W1literal}}}|&nbsp;}}}}}}
 
         <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W1score|}}}</div></div></div>
 
         <div class="bracket-score" style="width:{{{score-width|21}}}px">{{{R3W1score|}}}</div></div></div>
 
     </div>
 
     </div>
 
     </div>
 
     </div>
 
<div style="clear:left"> </div></div><div class="bracket-push"></div></div></includeonly><noinclude>{{Documentation}}[[Category:Brackets]]
 
<div style="clear:left"> </div></div><div class="bracket-push"></div></div></includeonly><noinclude>{{Documentation}}[[Category:Brackets]]

Revision as of 01:42, 8 January 2016

(view - edit) Documentation

Round 1
R1D1


R1D2
Round 2
R2D1
R2W1
Finals
R3D1
R3W1

Copy/Paste

Simple bracket with no further details

{{4SEKoTHTeamBracket
|R1D1team= |R1D1score= |R1D1win=
|R1D2team= |R1D2score= |R1D2win=
<!-- SEMI FINALS -->
|R2D1team= |R2D1score= |R2D1win=
|R2W1team= |R2W1score= |R2W1win=
<!-- FINALS -->
|R3D1team= |R3D1score= |R3D1win=
|R3W1team= |R3W1score= |R3W1win=
}}

Bracket with maps, bo3

{{4SEKoTHTeamBracket
|R1D1team= |R1D1score= |R1D1win=
|R1D2team= |R1D2score= |R1D2win=
 | R1G1details={{BracketMatchSummary
   | date= |stream= |finished=
   | match1= {{Game |t1score= |t2score= |map= |win= }}
   | match2= {{Game |t1score= |t2score= |map= |win= }}
   | match3= {{Game |t1score= |t2score= |map= |win= }}
   | details={{Details
     | log1= |log1gc= |log2= |log2gc= |log3= |log3gc=
     | vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= }}
}}
<!-- SEMI FINALS -->
|R2D1team= |R2D1score= |R2D1win=
|R2W1team= |R2W1score= |R2W1win=
 | R2G1details={{BracketMatchSummary
   | date= |stream= |finished=
   | match1= {{Game |t1score= |t2score= |map= |win= }}
   | match2= {{Game |t1score= |t2score= |map= |win= }}
   | match3= {{Game |t1score= |t2score= |map= |win= }}
   | details={{Details
     | log1= |log1gc= |log2= |log2gc= |log3= |log3gc=
     | vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= }}
}}
<!-- FINALS -->
|R3D1team= |R3D1score= |R3D1win=
|R3W1team= |R3W1score= |R3W1win=
 | R3G1details={{BracketMatchSummary
   | date= |stream= |finished=
   | match1= {{Game |t1score= |t2score= |map= |win= }}
   | match2= {{Game |t1score= |t2score= |map= |win= }}
   | match3= {{Game |t1score= |t2score= |map= |win= }}
   | details={{Details
     | log1= |log1gc= |log2= |log2gc= |log3= |log3gc=
     | vod1= |vod1gc= |vod2= |vod2gc= |vod3= |vod3gc= }}
}}
}}