Difference between revisions of "Template:2SEBracket/doc"

From QWiki
(Created page with "{{2SEBracket}} == Use == : ''Template for a single-elimination bracket with 2 players'' * One round, 2 players. * Variables are R1D1 and R1D2 for the players, with the additi...")
 
m (Updating doc)
 
Line 17: Line 17:
 
|score-width=</nowiki>
 
|score-width=</nowiki>
 
*To add information about maps, link to vods, a short note, etc. use (See [[Template:BracketMatchSummary]] for further details):
 
*To add information about maps, link to vods, a short note, etc. use (See [[Template:BracketMatchSummary]] for further details):
*Variable for details is: R1G1 (read ''Round x Game y'')
+
* '''Overtime:''' If a map went to overtime, add <mark>|map#ot=1</mark>. The value <mark>1</mark> equals the number of consecutive overtimes, rarely more than <mark>1</mark>.
'''<nowiki>|R1G1details=</nowiki>'''<nowiki>{{BracketMatchSummary
+
* '''Walkover:''' If a player leaves WO, add <mark>|R#D#race=wo</mark>. Can also be set to red, green, blue, yellow and white - please avoid this if you can.
|date=
 
|map1= |map1win= |vodgame1=
 
|map2= |map2win= |vodgame2=
 
|map3= |map3win= |vodgame3=
 
|map4= |map4win= |vodgame4=
 
|map5= |map5win= |vodgame5=
 
|map6= |map6win= |vodgame6=
 
|map7= |map7win= |vodgame7=
 
|preview=
 
|lrthread=
 
|interview=
 
|recap=
 
|comment=
 
}}</nowiki>
 
  
 
== Copy/Paste ==
 
== Copy/Paste ==
{{Col}}
+
<pre><nowiki>
==== Simple bracket with no further details ====
 
<pre width=50%><nowiki>
 
{{2SEBracket
 
|R1D1= |R1D1race= |R1D1flag= |R1D1score= |R1D1win=
 
|R1D2= |R1D2race= |R1D2flag= |R1D2score= |R1D2win=
 
}}
 
</nowiki></pre>
 
 
 
==== Bracket with maps, bo3 ====
 
<pre width=50%><nowiki>
 
{{2SEBracket
 
|R1D1= |R1D1race= |R1D1flag= |R1D1score= |R1D1win=
 
|R1D2= |R1D2race= |R1D2flag= |R1D2score= |R1D2win=
 
|R1G1details={{BracketMatchSummary
 
|map1= |map1win=
 
|map2= |map2win=
 
|map3= |map3win=
 
}}
 
}}
 
</nowiki></pre>
 
 
 
{{Col-break}}
 
==== Bracket, very detailed ====
 
<pre width=50%><nowiki>
 
 
{{2SEBracket
 
{{2SEBracket
 
|R1D1= |R1D1race= |R1D1flag= |R1D1score= |R1D1win=
 
|R1D1= |R1D1race= |R1D1flag= |R1D1score= |R1D1win=
 
|R1D2= |R1D2race= |R1D2flag= |R1D2score= |R1D2win=
 
|R1D2= |R1D2race= |R1D2flag= |R1D2score= |R1D2win=
 
|R1G1details={{BracketMatchSummary
 
|R1G1details={{BracketMatchSummary
|date=
+
|date=
|map1= |map1win= |vodgame1=
+
|finished=
|map2= |map2win= |vodgame2=
+
|stream=
|map3= |map3win= |vodgame3=
+
|vod=
|map4= |map4win= |vodgame4=
+
|map1= |map1win= |map1p1frags= |map1p2frags=
|map5= |map5win= |vodgame5=
+
|map2= |map2win= |map2p1frags= |map2p2frags=
|preview=
+
|map3= |map3win= |map3p1frags= |map3p2frags=
|lrthread=
+
|map4= |map4win= |map4p1frags= |map4p2frags=
|interview=
+
|map5= |map5win= |map5p1frags= |map5p2frags=
|recap=
 
 
}}
 
}}
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
{{EndCol}}
 
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>

Latest revision as of 08:39, 5 March 2021

Round 1
  R1D1
  R1D2

Use

Template for a single-elimination bracket with 2 players
  • One round, 2 players.
  • Variables are R1D1 and R1D2 for the players, with the addition of "race" and "score" for the races and scores.
  • Race variable uses the first letter of the race, p z t r or bye.
  • To bold winners and winners' scores use:
|R1D1=Playername |R1D1score=2 |R1D1win=1
  • To customize the names of the Round (default: Round 1) use:
|R1=
  • To remove the round title 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):
  • Overtime: If a map went to overtime, add |map#ot=1. The value 1 equals the number of consecutive overtimes, rarely more than 1.
  • Walkover: If a player leaves WO, add |R#D#race=wo. Can also be set to red, green, blue, yellow and white - please avoid this if you can.

Copy/Paste

{{2SEBracket
|R1D1= |R1D1race= |R1D1flag= |R1D1score= |R1D1win=
|R1D2= |R1D2race= |R1D2flag= |R1D2score= |R1D2win=
|R1G1details={{BracketMatchSummary
|date= 
|finished=
|stream=
|vod=
|map1= |map1win= |map1p1frags= |map1p2frags=
|map2= |map2win= |map2p1frags= |map2p2frags=
|map3= |map3win= |map3p1frags= |map3p2frags=
|map4= |map4win= |map4p1frags= |map4p2frags=
|map5= |map5win= |map5p1frags= |map5p2frags=
}}
}}