Difference between revisions of "Template:4SETeamBracket"

From comp.tf
Jump to navigation Jump to search
m (source category)
Line 8: Line 8:
 
         <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">
+
{{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|}}}
 +
|details={{{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/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 22: Line 27:
 
         <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="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|}}}
 +
|details={{{R1G2details|}}}
 +
}}</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;}}}}}}
Line 54: Line 64:
 
         <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>
 
         {{#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">
+
{{BracketMatchTeams|
<div class="left">{{#if:{{{R2W1team|}}}|{{Team2/{{{R2W1team}}}}}|{{#if:{{{R2W1|}}}|<span style="vertical-align:-1px;">{{{R2W1}}}</span>{{Team2/tf}}|{{#if:{{{R2W1literal|}}}|{{{R2W1literal}}}|&nbsp;}}}}}}</div>
+
|team1={{{R2W1team|}}}
<div class="right">{{#if:{{{R2W2team|}}}|{{Team1/{{{R2W2team}}}}}|{{#if:{{{R2W2|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R2W2}}}</span>|{{#if:{{{R2W2literal|}}}|{{{R2W2literal}}}|&nbsp;}}}}}}</div></div>
+
|team2={{{R2W2team|}}}
{{{R2G1details}}}</div>}}
+
|team1tf={{{R2W1|}}}
 +
|team2tf={{{R2W2|}}}
 +
|team1literal={{{R2W1literal|}}}
 +
|team2literal={{{R2W2literal|}}}
 +
|details={{{R2G1details|}}}
 +
}}</div>}}
 
     <div class="bracket-cell-r1" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}">
 
     <div class="bracket-cell-r1" style="{{#if:{{{R2W2win|}}}|font-weight:bold}}">
 
         <div class="bracket-team-bottom" style="{{#if:{{{R2W2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W2team|}}}|{{TeamBracket/{{{R2W2team}}}}}|{{#if:{{{R2W2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W2}}}</span>|{{#if:{{{R2W2literal|}}}|{{{R2W2literal}}}|&nbsp;}}}}}}
 
         <div class="bracket-team-bottom" style="{{#if:{{{R2W2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2W2team|}}}|{{TeamBracket/{{{R2W2team}}}}}|{{#if:{{{R2W2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2W2}}}</span>|{{#if:{{{R2W2literal|}}}|{{{R2W2literal}}}|&nbsp;}}}}}}
Line 69: Line 84:
 
         <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:{{{R2G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
 
         {{#if:{{{R2G2details|}}}|<div class="bracket-game-details" style="margin-left:{{{column-width|170}}}px;">
<div class="header">
+
{{BracketMatchTeams|
<div class="left">{{#if:{{{R2D1team|}}}|{{Team2/{{{R2D1team}}}}}|{{#if:{{{R2D1|}}}|<span style="vertical-align:-1px;">{{{R2D1}}}</span>{{Team2/tf}}|{{#if:{{{R2D1literal|}}}|{{{R2D1literal}}}|&nbsp;}}}}}}</div>
+
|team1={{{R2W3team|}}}
<div class="right">{{#if:{{{R2D2team|}}}|{{Team1/{{{R2D2team}}}}}|{{#if:{{{R2D2|}}}|{{Team/tf}}<span style="vertical-align:-1px;">{{{R2D2}}}</span>|{{#if:{{{R2D2literal|}}}|{{{R2D2literal}}}|&nbsp;}}}}}}</div></div>
+
|team2={{{R2W4team|}}}
{{{R2G2details}}}</div>}}
+
|team1tf={{{R2W3|}}}
 +
|team2tf={{{R2W4|}}}
 +
|team1literal={{{R2W3literal|}}}
 +
|team2literal={{{R2W4literal|}}}
 +
|details={{{R2G2details|}}}
 +
}}</div>}}
 
     <div class="bracket-cell-r1" style="{{#if:{{{R2D2win|}}}|font-weight:bold}}">
 
     <div class="bracket-cell-r1" style="{{#if:{{{R2D2win|}}}|font-weight:bold}}">
 
         <div class="bracket-team-bottom" style="{{#if:{{{R2D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D2team|}}}|{{TeamBracket/{{{R2D2team}}}}}|{{#if:{{{R2D2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2D2}}}</span>|{{#if:{{{R2D2literal|}}}|{{{R2D2literal}}}|&nbsp;}}}}}}
 
         <div class="bracket-team-bottom" style="{{#if:{{{R2D2literal}}}||background:#ebebeb;}}padding-right:{{#expr:{{{score-width|21}}}+2}}px">{{#if:{{{R2D2team|}}}|{{TeamBracket/{{{R2D2team}}}}}|{{#if:{{{R2D2|}}}|{{TeamBracket/tf}}<span style="vertical-align:-1px;">{{{R2D2}}}</span>|{{#if:{{{R2D2literal|}}}|{{{R2D2literal}}}|&nbsp;}}}}}}

Revision as of 18:00, 26 February 2017

(view - edit) Documentation

Semifinals
 
TBD
TBD
NoCheck.png
NoCheck.png

TBD

NoCheck.png
NoCheck.png

TBD

NoCheck.png
NoCheck.png

TBD

 
 
TBD
TBD
NoCheck.png
NoCheck.png

TBD

NoCheck.png
NoCheck.png

TBD

NoCheck.png
NoCheck.png

TBD

 
Finals
 
TBD
TBD
NoCheck.png
NoCheck.png

TBD

NoCheck.png
NoCheck.png

TBD

NoCheck.png
NoCheck.png

TBD

 
{{4SETeamBracket

<!-- SEMIFINALS -->
|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= | unplayed= }}
   | details={{Details
     | vod1= |log1= | vod2= |log2= | vod3= |log3= }}
 }}
|R1D3team= |R1D3score= |R1D3win=
|R1D4team= |R1D4score= |R1D4win=
|R1G2details={{BracketMatchSummary
   | date= |stream=| finished=
   | match1={{Game | t1score= | t2score= | map= | win= }}
   | match2={{Game | t1score= | t2score= | map= | win=}}
   | match3={{Game | t1score= | t2score= | map= | unplayed= }}
   | details={{Details
     | vod1= |log1= | vod2= |log2= | vod3= |log3= }}
 }}

<!-- FINAL -->
|R2W1team= |R2W1score= |R2W1win=
|R2W2team= |R2W2score= |R2W2win=
|R2G1details={{BracketMatchSummary
   | date= |stream=| finished=
   | match1={{Game | t1score= | t2score= | map= | win= }}
   | match2={{Game | t1score= | t2score= | map= | win=}}
   | match3={{Game | t1score= | t2score= | map= | unplayed= }}
   | details={{Details
     | vod1= |log1= | vod2= |log2= | vod3= |log3= }}
 }}

<!-- 3RD PLACE -->
|R2D1team= |R2D1score= |R2D1win=
|R2D2team= |R2D2score= |R2D2win=
|R2G2details={{BracketMatchSummary
   | date= |stream=| finished=
   | match1={{Game | t1score= | t2score= | map= | win= }}
   | match2={{Game | t1score= | t2score= | map= | win=}}
   | match3={{Game | t1score= | t2score= | map= | unplayed= }}
   | details={{Details
     | vod1= |log1= | vod2= |log2= | vod3= |log3= }}
 }}
}}