Template:8TeamBracket: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
Created page with "{{#invoke: TeamBracket | teamBracket | rounds=3 | RD1-group1 = {{{group1|}}} | RD1-group2 = {{{group2|}}} }}<noinclude> {{documentation}} </noinclude>" |
No edit summary |
||
| Line 1: | Line 1: | ||
{{# | {| border=0 cellpadding=0 cellspacing=0 style="font-size: 90%; margin:1em 2em 1em 1em;" | ||
| RD1- | | | ||
| RD1-group2 = {{{ | | align="center" colspan="3" style="border:1px solid #aaa;" bgcolor=#f2f2f2|{{{RD1|Quarter-finals}}} | ||
}}<noinclude> | | colspan="2"| | ||
| align="center" colspan="3" style="border:1px solid #aaa;" bgcolor=#f2f2f2|{{{RD2|Semi-finals}}} | |||
| colspan="2"| | |||
| align="center" colspan="3" style="border:1px solid #aaa;" bgcolor=#f2f2f2|{{{RD3|Final}}} | |||
|- | |||
| | |||
| style="width:2em;"| | |||
| style="width:{{{team-width|11em}}};"| | |||
| style="width:{{{score-width|2em}}};"| | |||
| style="width:1em;"| | |||
| style="width:1em;"| | |||
| style="width:2em;"| | |||
| style="width:{{{team-width|11em}}};"| | |||
| style="width:{{{score-width|2em}}};"| | |||
| style="width:1em;"| | |||
| style="width:1em;"| | |||
| style="width:2em;"| | |||
| style="width:{{{team-width|11em}}};"| | |||
| style="width:{{{score-width|2em}}};"| | |||
|- | |||
| height="14" | | |||
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed1|1}}} | |||
| style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-team1| }}} | |||
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score1| }}} | |||
| style="border-width:0 0 2px 0; border-style:solid;border-color:black;"| | |||
|- | |||
| height="7" | | |||
| rowspan="2" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed2|8}}} | |||
| rowspan="2" style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-team2| }}} | |||
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score2| }}} | |||
| rowspan="6" style="border-width:2px 2px 2px 0; border-style:solid;border-color:black;"| | |||
|- | |||
| height="7" | | |||
| rowspan="2" style="border-width:0 0 2px 0; border-style:solid;border-color:black;"| | |||
| rowspan="2" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD2-seed1| }}} | |||
| rowspan="2" style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-team1|}}} | |||
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-score1| }}} | |||
| rowspan="2" style="border-width:0 0 2px 0; border-style:solid;border-color:black;"| | |||
|- | |||
| height="7" | | |||
| colspan="3" rowspan="2" align="center"| {{{group1|}}} | |||
|- | |||
| height="7" | | |||
| rowspan="2" style="border-width:2px 0 0 0; border-style:solid;border-color:black;"| | |||
| rowspan="2" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD2-seed2| }}} | |||
| rowspan="2" style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-team2|}}} | |||
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-score2| }}} | |||
| rowspan="10" style="border-width:2px 2px 2px 0; border-style:solid;border-color:black;"| | |||
|- | |||
| height="7" | | |||
| rowspan="2" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed3|4}}} | |||
| rowspan="2" style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-team3| }}} | |||
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score3| }}} | |||
|- | |||
| height="7" | | |||
|- | |||
| height="14" | | |||
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed4|5}}} | |||
| style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-team4| }}} | |||
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score4| }}} | |||
| style="border-width:2px 0 0 0; border-style:solid;border-color:black;"| | |||
|- | |||
| height="14" colspan="2" | | |||
| colspan="8" rowspan="2"| | |||
| style="border-width:0 0 2px 0; border-style:solid;border-color:black;"| | |||
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD3-seed1| }}} | |||
| style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD3-team1| }}} | |||
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD3-score1| }}} | |||
|- | |||
| height="14" colspan="2" | | |||
| style="border-width:2px 0 0 0; border-style:solid;border-color:black;"| | |||
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD3-seed2| }}} | |||
| style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD3-team2| }}} | |||
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD3-score2| }}} | |||
|- | |||
| height="14"| | |||
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed5|3}}} | |||
| style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-team5| }}} | |||
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score5| }}} | |||
| style="border-width:0 0 2px 0; border-style:solid;border-color:black;"| | |||
|- | |||
| height="7" | | |||
| rowspan="2" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed6|6}}} | |||
| rowspan="2" style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-team6| }}} | |||
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score6| }}} | |||
| rowspan="6" style="border-width:2px 2px 2px 0; border-style:solid;border-color:black;"| | |||
|- | |||
| height="7" | | |||
| rowspan="2" style="border-width:0 0 2px 0; border-style:solid;border-color:black;"| | |||
| rowspan="2" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD2-seed3| }}} | |||
| rowspan="2" style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-team3| }}} | |||
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-score3| }}} | |||
|- | |||
| height="7" | | |||
| colspan="3" rowspan="2" align="center"| {{{group2|}}} | |||
|- | |||
| height="7" | | |||
| rowspan="2" style="border-width:2px 0 0 0; border-style:solid;border-color:black;"| | |||
| rowspan="2" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD2-seed4| }}} | |||
| rowspan="2" style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-team4| }}} | |||
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-score4| }}} | |||
| rowspan="2" style="border-width:2px 0 0 0; border-style:solid;border-color:black;"| | |||
|- | |||
| height="7" | | |||
| rowspan="2" align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed7|2}}} | |||
| rowspan="2" style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-team7| }}} | |||
| rowspan="2" align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score7| }}} | |||
|- | |||
| height="7" | | |||
|- | |||
| height="14" | | |||
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed8|7}}} | |||
| style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-team8| }}} | |||
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score8| }}} | |||
| style="border-width:2px 0 0 0; border-style:solid;border-color:black;"| | |||
|}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 16:49, 14 January 2018
| Quarter-finals | Semi-finals | Final | |||||||||||
| 1 | |||||||||||||
| 8 | |||||||||||||
| 4 | |||||||||||||
| 5 | |||||||||||||
| 3 | |||||||||||||
| 6 | |||||||||||||
| 2 | |||||||||||||
| 7 | |||||||||||||
[edit] []
Template documentation
Usage
Template description
This template generates a generic 8-team (3-round) tournament bracket.
Complete set of blank template parameters
{{8TeamBracket
| RD1 =
| RD2 =
| RD3 =
| group1 =
| group2 =
| seed-width =
| team-width =
| score-width =
| RD1-seed1 =
| RD1-team1 =
| RD1-score1 =
| RD1-seed2 =
| RD1-team2 =
| RD1-score2 =
| RD1-seed3 =
| RD1-team3 =
| RD1-score3 =
| RD1-seed4 =
| RD1-team4 =
| RD1-score4 =
| RD1-seed5 =
| RD1-team5 =
| RD1-score5 =
| RD1-seed6 =
| RD1-team6 =
| RD1-score6 =
| RD1-seed7 =
| RD1-team7 =
| RD1-score7 =
| RD1-seed8 =
| RD1-team8 =
| RD1-score8 =
| RD2-seed1 =
| RD2-team1 =
| RD2-score1 =
| RD2-seed2 =
| RD2-team2 =
| RD2-score2 =
| RD2-seed3 =
| RD2-team3 =
| RD2-score3 =
| RD2-seed4 =
| RD2-team4 =
| RD2-score4 =
| RD3-seed1 =
| RD3-team1 =
| RD3-score1 =
| RD3-seed2 =
| RD3-team2 =
| RD3-score2 =
}}
Parameter definitions
- seed-width – [OPTIONAL] sets the width of the seed fields (25 by default).
- team-width – [OPTIONAL] sets the width of the team name fields (125 by default).
- score-width – [OPTIONAL] sets the width of the score fields (20 by default).
- RD1, RD2, RD3 – [OPTIONAL] The names of each round. Defaults are "Quarterfinals", "Semifinals", and "Finals", respectively.
- group1, group2 – [OPTIONAL] The name of the first and second of two groups of four first-round teams, respectively.
- Each team takes three [OPTIONAL] parameters – the seed, team name, and score. The parameter names are of the form RDn-xxxxt, where:
- n is the round number (1–3)
- xxxx is one of seed, team, or score
- t is the position within the round, counting from top to bottom (1–8)
There are 8 first-round (quarterfinals) teams, 4 second-round (semifinals) teams, and 2 third-round (finals) teams.
See also
| The above documentation is transcluded from Template:8TeamBracket/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |