Template:8TeamBracket-4WayFinal
| Semifinals | Final | |||||||
| This template uses Lua: |
Usage
{{8TeamBracket-4WayFinal
| 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
| 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 or 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 for 25px or 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 for 25px or 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
|
RDm-hide |
set to yes to hide the all matches in columns m unless any of those entries are non empty. Use RDmh-byes to hide the (alpha) hth header and all matches beneath it in column m. Useful for consolation matches. |
|
show-bye-paths |
set to yes to replace any team cells that that are hidden byes with a path. |
no
|
aggregate |
Set to sets or legs to sum the sets/legs won and append to the end of the scores. Set to score to sum the scores from each set/leg and append to the end of the scores. Set to y or yes to enable the -agg suffix, but without any auto computation. Only works when there are two or more legs/sets in the round. Any automatically computed value can be overridden by setting the value manually with the -agg suffix for the score. |
no
|
boldwinner |
set to high to automatically bold the seed/team/score with the higher score in each match. Set to low for the lowest score. Set to aggregate to only bold the higher aggregate score. Set to aggregate-low to only bold the lower aggregate score. |
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. |
|
Parameter hierarchy
- 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-team1will 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=1set. If ArticleX implemented{{NTeamBracket|RD1-seed1=2}}, then the first team in round 1 would have a seed of 2.
Examples
Text
{{8TeamBracket-4WayFinal
| RD1-text1 = Text 1
| RD1-text2 = Text 2
| RD2-text1 = Text 3
| RD1 =
| RD1-seed1 =
| RD1-team1 =
| RD1-score1 =
...
}}
| Semifinals | Final | |||||||
| Text 1 | ||||||||
| Text 2 | ||||||||
| Text 3 | ||||||||
Groups
{{8TeamBracket-4WayFinal
| RD1-group1 = Group 1
| RD1-group2 = Group 2
| RD2-group1 = Group 3
| RD1 =
| RD1-seed1 =
| RD1-team1 =
| RD1-score1 =
...
}}
| Semifinals | Final | |||||||
| Group 1 | ||||||||
Legs and aggregate
{{8TeamBracket-4WayFinal
| legs = 2
| RD1-legs = 3
| aggregate = y
| RD1 =
| RD1-seed1 =
| RD1-team1 =
| RD1-score1-1=
| RD1-score1-2=
| RD1-score1-3=
| RD1-score1-agg=
...
}}
| Semifinals | Final | ||||||||||||
Byes
{{8TeamBracket-4WayFinal
| RD1-byes = y
| RD1 =
| RD1-seed1 =
| RD1-team1 = Team 1
| RD1-score1 =
| RD1-seed2 =
| RD1-team2 = Team 2
| RD1-score2 =
...
}}
| Semifinals | Final | |||||||
| Team 1 | ||||||||
| Team 2 | ||||||||
Alternatives to avoid Wikipedia's Post-expand include size limit
Pages with many brackets or large brackets, especially those containing flag icons, may come close to or exceed Wikipedia's Post-expand include size limit. In these cases consider using modules directly instead:
- In most cases, the name of the bracket template can be used as the function name for {{#invoke:Bracket|function}}, e.g.
{{16TeamBracket-Compact-Tennis3}}→{{#invoke:bracket|16TeamBracket-Compact-Tennis3}}. - In most cases, flag templates can be replaced with {{#invoke:flag|function}}, e.g.
{{flag|CAN}}→{{#invoke:flag||CAN}}or{{flag athlete|CAN}}→{{#invoke:flag|athlete|CAN}}.
Compact
{{8TeamBracket-4WayFinal
| compact = yes
...
}}
| Semifinals | Final | |||||||
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.