Difference between revisions of "Template:4SEBracket2on2"
From QWiki
m (Sandboxing) |
m (Sandboxing) |
||
Line 6: | Line 6: | ||
<div class="bracket-player-top" style="{{#if:{{{R1D1race|}}}|background:{{RaceColor|{{{R1D1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px"> {{#if:{{{R1D1flag|}}}|{{FlagNoLink/{{lc:{{{R1D1flag}}}}}}}}} <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="{{#if:{{{R1D1race|}}}|background:{{RaceColor|{{{R1D1race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px"> {{#if:{{{R1D1flag|}}}|{{FlagNoLink/{{lc:{{{R1D1flag}}}}}}}}} <span style="vertical-align:-1px;">{{{R1D1|R1D1}}}</span><div class="bracket-score" style="width:21px">{{{R1D1score|}}}</div></div></div> | ||
{{#if:{{{R1G1details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup"><div class="bracket-popup-header"> | {{#if:{{{R1G1details|}}}|<div class="bracket-popup-wrapper bracket-popup-team" style="margin-left:{{{column-width|150}}}px;"><div class="bracket-popup"><div class="bracket-popup-header"> | ||
− | {{ | + | {{BracketMatchPlayers2|{{{R1D1|TBD}}}|{{{R1D1flag|}}}|{{{R1D1lineup|}}}|{{{R1D2|TBD}}}|{{{R1D2flag|}}}|{{{R1D2lineup|}}}}} </div>{{{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-player-bottom" style="{{#if:{{{R1D2flag|}}}|background:{{RaceColor|{{{R1D2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px"> {{#if:{{{R1D2flag|}}}|{{FlagNoLink/{{lc:{{{R1D2flag}}}}}}}}} <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="{{#if:{{{R1D2flag|}}}|background:{{RaceColor|{{{R1D2race}}}}};}} padding-right:{{#expr:{{{score-width|21}}}+2}}px"> {{#if:{{{R1D2flag|}}}|{{FlagNoLink/{{lc:{{{R1D2flag}}}}}}}}} <span style="vertical-align:-1px;">{{{R1D2|R1D2}}}</span><div class="bracket-score" style="width:21px">{{{R1D2score|}}}</div></div></div> |
Revision as of 10:53, 24 March 2021
Documentation (view - edit)
Semifinals
R1D1
R1D2
R1D3
R1D4
Finals
R2W1
R2W2
Use
- Template for a single-elimination bracket with 4 starting players
- Two rounds, 4 and 2 players respectively.
- Variables are R1D1-4, R2W1-2 for the players, with the addition of "race" and "score" for the races and scores.
- If a map went to overtime, use |mapXot=. The value equals the number of consecutive OT's on this map.
- Walkover: set race to wo, i.e |R1D3race=wo. Can also be set to red, green, blue, yellow and white - please avoid this if you can.
- 3rd place match variables are R2D1 and R2D2. If the 3rd place match is not played, nothing needs to be filled in those fields and the 3rd place match will not appear on the page.
- Display declaration of players for each team with |RxDxlineup=. No linked text. Separate with '&' or ',':
|R1D1lineup=Player1 & player2
- To customize the names of the Rounds (default: Quarterfinals, Semifinals, Finals) use:
|R1= |R2= |L2=
- To remove Round titles completely use:
|hideroundtitles=true
- To customize column width or score width use:
|column-width= |score-width=
- To add information about maps, link to vods, a short note, etc. use (See Template:BracketMatchSummary for further details):
Copy/Paste
{{4SEBracket2on2 <!-- SEMIFINALS--> |R1D1= |R1D1flag= |R1D1lineup= |R1D1score= |R1D1win= |R1D2= |R1D2flag= |R1D2lineup= |R1D2score= |R1D2win= |R1G1details={{BracketMatchSummary |date= |finished= |stream= |map1= |map1win= |map1p1frags= |map1p2frags= |map2= |map2win= |map2p1frags= |map2p2frags= |map3= |map3win= |map3p1frags= |map3p2frags= |map4= |map4win= |map4p1frags= |map4p2frags= |map5= |map5win= |map5p1frags= |map5p2frags= }} |R1D3= |R1D3flag= |R1D3lineup= |R1D3score= |R1D3win= |R1D4= |R1D4flag= |R1D4lineup= |R1D4score= |R1D4win= |R1G2details={{BracketMatchSummary |date= |finished= |stream= |map1= |map1win= |map1p1frags= |map1p2frags= |map2= |map2win= |map2p1frags= |map2p2frags= |map3= |map3win= |map3p1frags= |map3p2frags= |map4= |map4win= |map4p1frags= |map4p2frags= |map5= |map5win= |map5p1frags= |map5p2frags= }} <!-- FINAL MATCH--> |R2W1= |R2W1flag= |R2W1lineup= |R2W1score= |R2W1win= |R2W2= |R2W2flag= |R2W2lineup= |R2W2score= |R2W2win= |R2G1details={{BracketMatchSummary |date= |finished= |stream= |map1= |map1win= |map1p1frags= |map1p2frags= |map2= |map2win= |map2p1frags= |map2p2frags= |map3= |map3win= |map3p1frags= |map3p2frags= |map4= |map4win= |map4p1frags= |map4p2frags= |map5= |map5win= |map5p1frags= |map5p2frags= }} }}
Adapted from Liquipedia