Template:12TeamBracket-2Elim: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
two bracket support |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Build bracket|main |
|||
{{Bracket builder |
|||
| rounds={{{ |
| rounds={{#if:{{{groups|}}}|5|6}} |
||
| maxrows=32 |
|||
| RD6-legs={{{RD6-legs|1}}} |
|||
| seed-width={{{seed-width|25}}} |
|||
| team-width={{{team-width|125}}} |
|||
| score-width={{{score-width|25}}} |
|||
| col1-headers = 1{{#if:{{{groups|}}}||,16}} |
|||
<!-- Headers --> |
|||
| |
| col2-headers = 1{{#if:{{{groups|}}}||,16}} |
||
| |
| col3-headers = 1{{#if:{{{groups|}}}||,16}} |
||
| |
| col4-headers = 1{{#if:{{{groups|}}}||,16}} |
||
| |
| col5-headers = {{#if:{{{groups|}}}|1|16}} |
||
| col6-headers = 1 |
|||
| 0-6 = {{Bracket entry|header|{{{RD6|Final}}}|legs={{{RD6-legs|1}}} }} |
|||
| 17-1 = {{Bracket entry|header|{{{RD1b|Lower round 1}}} }} |
|||
| 17-2 = {{Bracket entry|header|{{{RD2b|Lower round 2}}} }} |
|||
| 17-3 = {{Bracket entry|header|{{{RD3b|Lower round 3}}} }} |
|||
| 17-4 = {{Bracket entry|header|{{{RD4b|Lower round 4}}} }} |
|||
| 17-5 = {{Bracket entry|header|{{{RD5b|Lower final}}} }} |
|||
| col1-matches = {{#switch:{{{upperstyle|}}} |
|||
<!-- Column1 --> |
|||
| 2 = 4.5,7.5,10.5,13.5 |
|||
| 2-1 = {{Bracket entry|team|{{{RD1-seed1|}}}|{{{RD1-team1|}}}|{{{RD1-score1|}}}|seeds={{{seeds|}}} }} |
|||
| |
| #default = 4,7, {{#if:{{both|{{{groups|}}}|{{{RD1-single-elim|}}}}}||10,13}} |
||
}}, {{#if:{{{groups|}}}|16,19|18,21, {{#if:{{{RD1-single-elim|}}}||24,27}}}} |
|||
| |
| col2-matches = 3,6,{{#if:{{{groups|}}}|11.5|9,12}}, {{#if:{{{groups|}}}|15,18,23.5|19.5,25.5}} |
||
| col3-matches = 4.5,10.5, {{#switch:{{{lowerstyle|}}} |
|||
| 10-1 = {{Bracket entry|team|{{{RD1-seed5|}}}|{{{RD1-team5|}}}|{{{RD1-score5|}}}|seeds={{{seeds|}}} }} |
|||
| 2 = 18,22.5 |
|||
| 11-1 = {{Bracket entry|team|{{{RD1-seed6|}}}|{{{RD1-team6|}}}|{{{RD1-score6|}}}|seeds={{{seeds|}}} }} |
|||
| #default = {{#if:{{{groups|}}}|16.5,22.5|18.5,24.5}} |
|||
| 14-1 = {{Bracket entry|team|{{{RD1-seed7|}}}|{{{RD1-team7|}}}|{{{RD1-score7|}}}|seeds={{{seeds|}}} }} |
|||
}} |
|||
| 15-1 = {{Bracket entry|team|{{{RD1-seed8|}}}|{{{RD1-team8|}}}|{{{RD1-score8|}}}|seeds={{{seeds|}}} }} |
|||
| col4-matches = 7.5, {{#switch:{{{lowerstyle|}}} |
|||
| 2 = 20.5 |
|||
| #default = {{#if:{{{groups|}}}|19.5|21.5}} |
|||
}} |
|||
| col5-matches = {{#switch:{{{lowerstyle|}}} |
|||
| 2 = 19.5 |
|||
| #default = {{#if:{{{groups|}}}|13.5|20.5}} |
|||
}} |
|||
| col6-matches = {{#switch: {{{lowerstyle|}}} |
|||
| 2 = 13.5 |
|||
| #default = 14 |
|||
}} |
|||
| col1-col2-paths = {{#switch:{{{upperstyle|}}} |
|||
| 19-1 = {{Bracket entry|team|{{{RD1-seed9|}}}|{{{RD1-team9|}}}|{{{RD1-score9|}}}|seeds={{{seeds|}}} }} |
|||
| 2 = (4.5,7.5)-6,(10.5,13.5)-12 |
|||
| 20-1 = {{Bracket entry|team|{{{RD1-seed10|}}}|{{{RD1-team10|}}}|{{{RD1-score10|}}}|seeds={{{seeds|}}} }} |
|||
| |
| #default = 4-3,7-6,{{#if:{{{groups|}}}|{{#if:{{{RD1-single-elim|}}}||(10,13)-11.5}}|10-9,13-12}} |
||
}}, {{#if:{{{groups|}}}|16-15,19-18|(18,21)-19.5}}, {{#if:{{{RD1-single-elim|}}}||(24,27)-25.5}} |
|||
| col2-col3-paths = (3,6)-4.5, {{#if:{{{groups|}}}|11.5-10.5|(9,12)-10.5}}, {{#switch:{{{lowerstyle|}}} |
|||
| 27-1 = {{Bracket entry|team|{{{RD1-seed13|}}}|{{{RD1-team13|}}}|{{{RD1-score13|}}}|seeds={{{seeds|}}} }} |
|||
| 2 = (19.5,25.5)-22.5 |
|||
| 28-1 = {{Bracket entry|team|{{{RD1-seed14|}}}|{{{RD1-team14|}}}|{{{RD1-score14|}}}|seeds={{{seeds|}}} }} |
|||
| #default = {{#if:{{{groups|}}}|(15,18)-16,5, 23.5-22.5|19.5-18.5,25.5-24.5}} |
|||
| 31-1 = {{Bracket entry|team|{{{RD1-seed15|}}}|{{{RD1-team15|}}}|{{{RD1-score15|}}}|seeds={{{seeds|}}} }} |
|||
}} |
|||
| 32-1 = {{Bracket entry|team|{{{RD1-seed16|}}}|{{{RD1-team16|}}}|{{{RD1-score16|}}}|seeds={{{seeds|}}} }} |
|||
| col3-col4-paths = (4.5,10.5)-7.5, {{#switch:{{{lowerstyle|}}} |
|||
| 2 = (18,22.5)-20.5 |
|||
| #default = {{#if:{{{groups|}}}|(16.5,22.5)-19.5|(18.5,24.5)-21.5}} |
|||
}} |
|||
| col4-col5-paths = {{#if:{{{groups|}}}||{{#ifeq:{{{maxround|}}}|5||7.5-7.5,}}}} {{#switch:{{{lowerstyle|}}} |
|||
| 2 = 20.5-19.5 |
|||
| #default = {{#if:{{{groups|}}}|(7.5,19.5)-13.5|21.5-20.5}} |
|||
}} |
|||
| col5-col6-paths = {{#switch:{{{lowerstyle|}}} |
|||
| 2 = (7.5,19.5)-13.5 |
|||
| #default = (7.5,20.5)-14 |
|||
}} |
|||
<!-- |
<!-- Defaults --> |
||
| RD1 = {{#if:{{{groups|}}}|First round|Upper round 1}} |
|||
| 1-1a = {{Bracket entry|line|outupin1}} |
|||
| RD2 = {{#if:{{{groups|}}}|Second round|Upper round 2}} |
|||
| 2-1a = {{Bracket entry|line|outupin2}} |
|||
| RD3 = {{#if:{{{groups|}}}|Third round|Upper round 3}} |
|||
| 3-1a = {{Bracket entry|line|outupin3}} |
|||
| RD4 = {{#if:{{{groups|}}}|Semifinals|Upper final}} |
|||
| 5-1a = {{Bracket entry|line|outupin1}} |
|||
| RD5b = Lower final |
|||
| 6-1a = {{Bracket entry|line|outupin2}} |
|||
| 7-1a = {{Bracket entry|line|outupin3}} |
|||
| 9-1a = {{Bracket entry|line|outupin1}} |
|||
| 10-1a = {{Bracket entry|line|outupin2}} |
|||
| 11-1a = {{Bracket entry|line|outupin3}} |
|||
| 13-1a = {{Bracket entry|line|outupin1}} |
|||
| 14-1a = {{Bracket entry|line|outupin2}} |
|||
| 15-1a = {{Bracket entry|line|outupin3}} |
|||
}}</includeonly><noinclude>{{documentation}} |
|||
| 19-1a = {{Bracket entry|line|outdown1}} |
|||
| 20-1a = {{Bracket entry|line|outdown2}} |
|||
| 21-1a = {{Bracket entry|line|in1}} |
|||
| 22-1a = {{Bracket entry|line|in2}} |
|||
| 23-1a = {{Bracket entry|line|outup1}} |
|||
| 24-1a = {{Bracket entry|line|outup2}} |
|||
| 27-1a = {{Bracket entry|line|outdown1}} |
|||
| 28-1a = {{Bracket entry|line|outdown2}} |
|||
| 29-1a = {{Bracket entry|line|in1}} |
|||
| 30-1a = {{Bracket entry|line|in2}} |
|||
| 31-1a = {{Bracket entry|line|outup1}} |
|||
| 32-1a = {{Bracket entry|line|outup2}} |
|||
<!-- Column2 --> |
|||
| 1-2 = {{Bracket entry|team|{{{RD2-seed1|}}}|{{{RD2-team1|}}}|{{{RD2-score1|}}}|seeds={{{seeds|}}}}} |
|||
| 2-2 = {{Bracket entry|team|{{{RD2-seed2|}}}|{{{RD2-team2|}}}|{{{RD2-score2|}}}|seeds={{{seeds|}}}}} |
|||
| 5-2 = {{Bracket entry|team|{{{RD2-seed3|}}}|{{{RD2-team3|}}}|{{{RD2-score3|}}}|seeds={{{seeds|}}}}} |
|||
| 6-2 = {{Bracket entry|team|{{{RD2-seed4|}}}|{{{RD2-team4|}}}|{{{RD2-score4|}}}|seeds={{{seeds|}}}}} |
|||
| 9-2 = {{Bracket entry|team|{{{RD2-seed5|}}}|{{{RD2-team5|}}}|{{{RD2-score5|}}}|seeds={{{seeds|}}}}} |
|||
| 10-2 = {{Bracket entry|team|{{{RD2-seed6|}}}|{{{RD2-team6|}}}|{{{RD2-score6|}}}|seeds={{{seeds|}}}}} |
|||
| 13-2 = {{Bracket entry|team|{{{RD2-seed7|}}}|{{{RD2-team7|}}}|{{{RD2-score7|}}}|seeds={{{seeds|}}}}} |
|||
| 14-2 = {{Bracket entry|team|{{{RD2-seed8|}}}|{{{RD2-team8|}}}|{{{RD2-score8|}}}|seeds={{{seeds|}}}}} |
|||
| 21-2 = {{Bracket entry|team|{{{RD2-seed9|}}}|{{{RD2-team9|}}}|{{{RD2-score9|}}}|seeds={{{seeds|}}}}} |
|||
| 22-2 = {{Bracket entry|team|{{{RD2-seed10|}}}|{{{RD2-team10|}}}|{{{RD2-score10|}}}|seeds={{{seeds|}}}}} |
|||
| 29-2 = {{Bracket entry|team|{{{RD2-seed11|}}}|{{{RD2-team11|}}}|{{{RD2-score11|}}}|seeds={{{seeds|}}}}} |
|||
| 30-2 = {{Bracket entry|team|{{{RD2-seed12|}}}|{{{RD2-team12|}}}|{{{RD2-score12|}}}|seeds={{{seeds|}}}}} |
|||
<!-- Column2.5 --> |
|||
| 1-2a = {{Bracket entry|line|outdown1}} |
|||
| 2-2a = {{Bracket entry|line|outdown2}} |
|||
| 3-2a = {{Bracket entry|line|in1}} |
|||
| 4-2a = {{Bracket entry|line|in2}} |
|||
| 5-2a = {{Bracket entry|line|outup1}} |
|||
| 6-2a = {{Bracket entry|line|outup2}} |
|||
| 9-2a = {{Bracket entry|line|outdown1}} |
|||
| 10-2a = {{Bracket entry|line|outdown2}} |
|||
| 11-2a = {{Bracket entry|line|in1}} |
|||
| 12-2a = {{Bracket entry|line|in2}} |
|||
| 13-2a = {{Bracket entry|line|outup1}} |
|||
| 14-2a = {{Bracket entry|line|outup2}} |
|||
| 20-2a = {{Bracket entry|line|outupin1}} |
|||
| 21-2a = {{Bracket entry|line|outupin2}} |
|||
| 22-2a = {{Bracket entry|line|outupin3}} |
|||
| 28-2a = {{Bracket entry|line|outupin1}} |
|||
| 29-2a = {{Bracket entry|line|outupin2}} |
|||
| 30-2a = {{Bracket entry|line|outupin3}} |
|||
<!-- Column3 --> |
|||
| 3-3 = {{Bracket entry|team|{{{RD3-seed1|}}}|{{{RD3-team1|}}}|{{{RD3-score1|}}}|seeds={{{seeds|}}}}} |
|||
| 4-3 = {{Bracket entry|team|{{{RD3-seed2|}}}|{{{RD3-team2|}}}|{{{RD3-score2|}}}|seeds={{{seeds|}}}}} |
|||
| 11-3 = {{Bracket entry|team|{{{RD3-seed3|}}}|{{{RD3-team3|}}}|{{{RD3-score3|}}}|seeds={{{seeds|}}}}} |
|||
| 12-3 = {{Bracket entry|team|{{{RD3-seed4|}}}|{{{RD3-team4|}}}|{{{RD3-score4|}}}|seeds={{{seeds|}}}}} |
|||
| 20-3 = {{Bracket entry|team|{{{RD3-seed5|}}}|{{{RD3-team5|}}}|{{{RD3-score5|}}}|seeds={{{seeds|}}}}} |
|||
| 21-3 = {{Bracket entry|team|{{{RD3-seed6|}}}|{{{RD3-team6|}}}|{{{RD3-score6|}}}|seeds={{{seeds|}}}}} |
|||
| 28-3 = {{Bracket entry|team|{{{RD3-seed7|}}}|{{{RD3-team7|}}}|{{{RD3-score7|}}}|seeds={{{seeds|}}}}} |
|||
| 29-3 = {{Bracket entry|team|{{{RD3-seed8|}}}|{{{RD3-team8|}}}|{{{RD3-score8|}}}|seeds={{{seeds|}}}}} |
|||
<!-- Column3.5 --> |
|||
| 3-3a = {{Bracket entry|line|outdown1}} |
|||
| 4-3a = {{Bracket entry|line|outdown2}} |
|||
| 5-3a = {{Bracket entry|line|vertical}} |
|||
| 6-3a = {{Bracket entry|line|vertical}} |
|||
| 7-3a = {{Bracket entry|line|in1}} |
|||
| 8-3a = {{Bracket entry|line|in2}} |
|||
| 9-3a = {{Bracket entry|line|vertical}} |
|||
| 10-3a = {{Bracket entry|line|vertical}} |
|||
| 11-3a = {{Bracket entry|line|outup1}} |
|||
| 12-3a = {{Bracket entry|line|outup2}} |
|||
| 20-3a = {{Bracket entry|line|outdown1}} |
|||
| 21-3a = {{Bracket entry|line|outdown2}} |
|||
| 22-3a = {{Bracket entry|line|vertical}} |
|||
| 23-3a = {{Bracket entry|line|vertical}} |
|||
| 24-3a = {{Bracket entry|line|in1}} |
|||
| 25-3a = {{Bracket entry|line|in2}} |
|||
| 26-3a = {{Bracket entry|line|vertical}} |
|||
| 27-3a = {{Bracket entry|line|vertical}} |
|||
| 28-3a = {{Bracket entry|line|outup1}} |
|||
| 29-3a = {{Bracket entry|line|outup2}} |
|||
<!-- Column4 --> |
|||
| 7-4 = {{Bracket entry|team|{{{RD4-seed1|}}}|{{{RD4-team1|}}}|{{{RD4-score1|}}}|seeds={{{seeds|}}}}} |
|||
| 8-4 = {{Bracket entry|team|{{{RD4-seed2|}}}|{{{RD4-team2|}}}|{{{RD4-score2|}}}|seeds={{{seeds|}}}}} |
|||
| 24-4 = {{Bracket entry|team|{{{RD4-seed3|}}}|{{{RD4-team3|}}}|{{{RD4-score3|}}}|seeds={{{seeds|}}}}} |
|||
| 25-4 = {{Bracket entry|team|{{{RD4-seed4|}}}|{{{RD4-team4|}}}|{{{RD4-score4|}}}|seeds={{{seeds|}}}}} |
|||
<!-- Column4.5 --> |
|||
| 7-4a = {{#ifeq:{{{rounds|}}}|5||{{Bracket entry|line|horizontal1}}}} |
|||
| 8-4a = {{#ifeq:{{{rounds|}}}|5||{{Bracket entry|line|horizontal2}}}} |
|||
| 23-4a = {{Bracket entry|line|outupin1}} |
|||
| 24-4a = {{Bracket entry|line|outupin2}} |
|||
| 25-4a = {{Bracket entry|line|outupin3}} |
|||
<!-- Column5 --> |
|||
| 7-5 = {{#ifeq:{{{rounds|}}}|5||{{Bracket entry|omit1}}}} |
|||
| 8-5 = {{#ifeq:{{{rounds|}}}|5||{{Bracket entry|omit2}}}} |
|||
| 23-5 = {{Bracket entry|team|{{{RD5-seed1|}}}|{{{RD5-team1|}}}|{{{RD5-score1|}}}|seeds={{{seeds|}}}}} |
|||
| 24-5 = {{Bracket entry|team|{{{RD5-seed2|}}}|{{{RD5-team2|}}}|{{{RD5-score2|}}}|seeds={{{seeds|}}}}} |
|||
<!-- Column5.5 --> |
|||
| 7-5a = {{Bracket entry|line|outdown1}} |
|||
| 8-5a = {{Bracket entry|line|outdown2}} |
|||
| 9-5a = {{Bracket entry|line|vertical}} |
|||
| 10-5a = {{Bracket entry|line|vertical}} |
|||
| 11-5a = {{Bracket entry|line|vertical}} |
|||
| 12-5a = {{Bracket entry|line|vertical}} |
|||
| 13-5a = {{Bracket entry|line|vertical}} |
|||
| 14-5a = {{Bracket entry|line|in1}} |
|||
| 15-5a = {{Bracket entry|line|in2}} |
|||
| 16-5a = {{Bracket entry|line|vertical}} |
|||
| 17-5a = {{Bracket entry|line|vertical}} |
|||
| 18-5a = {{Bracket entry|line|vertical}} |
|||
| 19-5a = {{Bracket entry|line|vertical}} |
|||
| 20-5a = {{Bracket entry|line|vertical}} |
|||
| 21-5a = {{Bracket entry|line|vertical}} |
|||
| 22-5a = {{Bracket entry|line|vertical}} |
|||
| 23-5a = {{Bracket entry|line|outup1}} |
|||
| 24-5a = {{Bracket entry|line|outup2}} |
|||
<!-- Column6 --> |
|||
| 14-6 = {{Bracket entry|team|{{{RD6-seed1|}}}|{{{RD6-team1|}}}|{{{RD6-score1|{{{RD6-score1a|}}} }}}|{{{RD6-score1b|}}}|{{{RD6-score1c|}}}|seeds={{{seeds|}}}|legs={{{RD6-legs|1}}} }} |
|||
| 15-6 = {{Bracket entry|team|{{{RD6-seed2|}}}|{{{RD6-team2|}}}|{{{RD6-score2|{{{RD6-score2a|}}} }}}|{{{RD6-score2b|}}}|{{{RD6-score1c|}}}|seeds={{{seeds|}}}|legs={{{RD6-legs|1}}} }} |
|||
}}{{#invoke:Team bracket tracking|tracking}}<noinclude>{{documentation}} |
|||
</noinclude> |
</noinclude> |
Latest revision as of 17:14, 24 November 2022
Variants
[edit]- Standard
{{12TeamBracket-2Elim}}
Upper round 1 | Upper round 2 | Upper round 3 | Upper final | Final | ||||||||||||||||||||||||
Lower round 1 | Lower round 2 | Lower round 3 | Lower round 4 | Lower final | ||||||||||||||||||||||||
- Upper bracket
{{12TeamBracket-2Elim
| upperstyle = 2
...
}}
Upper round 1 | Upper round 2 | Upper round 3 | Upper final | Final | ||||||||||||||||||||||||
Lower round 1 | Lower round 2 | Lower round 3 | Lower round 4 | Lower final | ||||||||||||||||||||||||
- Lower bracket
{{12TeamBracket-2Elim
| lowerstyle = 2
...
}}
Upper round 1 | Upper round 2 | Upper round 3 | Upper final | Final | ||||||||||||||||||||||||
Lower round 1 | Lower round 2 | Lower round 3 | Lower round 4 | Lower final | ||||||||||||||||||||||||
- Two brackets
{{12TeamBracket-2Elim
| groups = y
...
}}
First round | Second round | Third round | Semifinals | Final | |||||||||||||||||||
This template uses Lua: |
Usage
[edit]{{12TeamBracket-2Elim
| RD1 =
| RD1-seed1 =
| RD1-team1 =
| RD1-score1 =
...
}}
Per MOS:ACCESS#Font size and MOS:SMALLFONT, "avoid using smaller font sizes in elements that already use a smaller font size, such as infoboxes, navboxes and reference sections". Since this template's text is already reduced to 90% of the normal size, use of the {{Small}} template or <small>...</small>
tags within this template produces a font size that is 77% of the page default, well below the 85% minimum specified in the linked guidelines.
Parameters
[edit]Parameter | Description | Default |
---|---|---|
maxround |
final round to display. This parameter should be omitted unless it is less than the default value set by rounds . |
|
minround |
first round to display. | 1
|
height |
the amount of vertical visibility desired for the bracket. Creates a vertical scroll bar. Enter a number with units (e.g., 30em or 480px ). |
|
col-spacing |
the amount of horizontal space between rounds. Enter as a plain number (e.g., 10 for 10px). |
5
|
seed-width |
the width of the cells for seeds. Plain numbers are assumed to be in px units (e.g., 25 for 25px 2em for 2em) |
25
|
team-width |
the width of the cells for team names. Plain numbers are assumed to be in px units (e.g., 200 for 200px or 15em for 15em) |
150
|
score-width |
the width of the cells for scores. Plain numbers are assumed to be in px units (e.g., 25 or 25px 2em for 2em) |
25
|
agg-width |
the width of the cells for aggregate scores. score-width will change aggregate score widths unless this parameter is used. Plain numbers are assumed to be in px units (e.g., 25 or 25px 2em for 2em) |
25
|
seeds |
set to no to omit seeds in in all matches. set to yes to show seed cells to show for all matches. |
|
legs |
the number of legs for all rounds. Use RDm-legs to individually set columns. Use RDm-legsk to individually set teams. |
1
|
autolegs |
set to yes to automatically generate score cells per team. If legs or RDm-legs is used, autolegs will be set to no . |
no
|
byes |
set to yes to hide any team cells that are empty. Alternatively, set to m to have rounds 1 through m hide any team cells that are empty. Use RDm-byes for just matches under column m. Use RDmh-byes for just matches under header h only in column m. |
no
|
show-bye-paths |
set to yes to replace any team cells that that are hidden byes with a path. |
no
|
aggregate |
set to yes to add an aggregate score box to each match. Only matches with two or more legs will show the aggregate score box. |
no
|
boldwinner |
set to yes to automatically bold the seed/team/score with the higher score in each match. |
no
|
shift |
vertically shifts all of the entries by the number entered. Use RDm-shift for individual in columns. |
0
|
RDm , RDmh |
The header text of the (alpha hth) header in column m (e.g., RD1 or RD1a for the first header and RD1b for the second header in column 1). |
|
RDm-seedk |
The seed of the kth team in column m. Alternatively, use RDmh-seedk for the kth team under header mh. |
|
RDm-teamk |
The name of the kth team in column m. Alternatively, use RDmh-teamk for the kth team under header mh. |
|
RDm-scorek |
The score of the kth team in column m. Alternatively, use RDmh-scorek for the kth team under header mh. Append the suffix -l for the lth leg or -agg for the aggregate score. |
|
RDm-textk |
The text above the kth match in column m. Alternatively, use RDmh-textk for the kth match under header mh. |
|
RDm-groupk |
The text for the kth group in column m. Group text will appear to the left of whenever two paths meet. | |
RD-shade |
the background color (in hex format, e.g. #ABCDEF ) of all headers. Use RDm-shade or RDmh-shade for individual headers. |
#F2F2F2
|
RDm-RD(m+1)-path [a] |
set to no or 0 to omit the paths from round m to round m+1. |
yes
|
paramstyle [b] |
set to numbered change the parameter name style of RDm-textk , RDm-seedk , RDm-teamk , and RDm-scorek to a numbered notation (|1= ,|2= ...). Set |seeds=yes add seeds. |
indexed
|
Parameter hierarchy
[edit]- Whenever there are multiple headers in a single column, more than one parameter may be assigned to a cell value. For example, in the following bracket, both
|RD1-team3=
and|RD1b-team1=
can be used to assign the third team in the first column. By default, entries with subheader prefixes will override those without. In the below example,RD1b-team1
will override any value that has been set byRD1-team3
.
Upper round | |||
Lower round | |||
RD1-team3 or RD1b-team1 | |||
- Parameters used in articles take precedence over parameters used in the template itself. For example, suppose ArticleX used the template NTeamBracket, and suppose NTeamBracket had the parameter
|RD1-seed1=1
set. If ArticleX implemented{{NTeamBracket|RD1-seed1=2}}
, then the first team in round 1 would have a seed of 2.
Examples
[edit]Text
[edit]{{12TeamBracket-2Elim
| RD1-text1 = Text 1
| RD1-text2 = Text 2
| RD2-text1 = Text 3
| RD1 =
| RD1-seed1 =
| RD1-team1 =
| RD1-score1 =
...
}}
Groups
[edit]{{12TeamBracket-2Elim
| RD1-group1 = Group 1
| RD1-group2 = Group 2
| RD2-group1 = Group 3
| RD1 =
| RD1-seed1 =
| RD1-team1 =
| RD1-score1 =
...
}}
Legs and aggregate
[edit]{{12TeamBracket-2Elim
| legs = 2
| RD1-legs = 3
| aggregate = y
| RD1 =
| RD1-seed1 =
| RD1-team1 =
| RD1-score1-1=
| RD1-score1-2=
| RD1-score1-3=
| RD1-score1-agg=
...
}}
Byes
[edit]{{12TeamBracket-2Elim
| RD1-byes = y
| RD1 =
| RD1-seed1 =
| RD1-team1 = Team 1
| RD1-score1 =
| RD1-seed2 =
| RD1-team2 = Team 2
| RD1-score2 =
...
}}
Numbered parameters
[edit]{{12TeamBracket-2Elim
| paramstyle = numbered
| RD1 =
| Text 1 | Team 1 | S1 | Team 2 | S2
| Text 2 | Team 3 | S3 | Team 4 | S4
...
}}