Ez a modul az olyan egyenes kieséses rendszerű tornák ágrajzainak vizuális megjelenítését valósítja meg, amelyeket a Modul:RoundN vagy Modul:TeamBracket segítségével nem lehet elkészíteni. Például egyesével kihagyott mérkőzések, vagy kettőnél több szereplő van egy mérkőzésen.
Használata
{{Build bracket
| RD1 =
| RD1-seed1 =
| RD1-team1 =
| RD1-score1 =
...
}}
Paraméterek
Paraméter |
Leírás |
Alapértelmezés
|
maxround |
A megjelenített fordulók száma. A paramétert nem veszi figyelembe, ha az értéke kisebb, mint a rounds paraméterben beállított érték. |
|
minround |
Az elsőnek megjelenített forduló száma. |
1
|
autocol |
yes érték esetén a megjelenítendő maximális fordulók számának automatikus beállítása a bejegyzések alapján. |
no
|
col-spacing |
A fordulók közötti távolság. Egyszerű számot kell használni (pl.: 10 for 10px). |
5
|
nowrap |
A yes érték megadásával a hosszú nevek azonos sorba kerülnek, nem lesz sortörés. |
no
|
seed-width |
A kiemelések (seed) cellák szélessége. Az egyszerű számokat pixelben kell megadni (pl.: 25 a 25px értékhez vagy 2em a 2em értékhez vagy auto az automatikus mérethez. |
25
|
team-width |
A csapatnevek (team) cellák szélessége. Az egyszerű számokat pixelben kell megadni (pl.: 200 a 200px értékhez vagy 15em a 15em értékhez vagy auto az automatikus mérethez. |
150
|
score-width |
Az eredmény (score) cellák szélessége. Az egyszerű számokat pixelben kell megadni (pl.: 25 a 25px értékhez vagy 2em a 2em értékhez vagy auto az automatikus mérethez. |
25
|
seeds |
A no érték megadásával a kiemelés cellái nem jelennek meg, a yes megadásával a kiemelés cellái mindig megjelennek. |
|
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. Use RDm-byes for all matches under column m. Use RDmh-byes for 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 |
set to no or 0 to omit the paths from round m to round m+1. Note: Does not currently work for paths under subheaders. |
yes
|
paramstyle [a 1] |
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
|
- ↑ Lehet, hogy nem kompatibilis bizonyos más funkciókkal.
Példák
Megjegyzés: Ezek csak példák a paraméterek illusztrálására. A sztenderd sablonok jobban kezelhetőek a Modul:Team bracket modullal.
Standard 4-csapatos ág
{{#invoke:Build bracket|main
| rounds=2
| col1-headers = 1
| col2-headers = 1
| col1-matches = 3,7
| col2-matches = 5
| col1-col2-paths = (3,7)-5
<!-- Defaults -->
| RD2 = Döntő
| RD1-seed1 = 1
| RD1-seed3 = 2
}}
3 szereplős ág
{{#invoke:Build bracket|main
| rounds=2
| teams-per-match = 3
| col1-headers = 1
| col2-headers = 1
| col1-matches = 3,7,11
| col2-matches = 7
| col1-col2-paths = (3,7,11)-7
}}
Vigaszágas rendszer
{{#invoke:Build bracket|main
| rounds=4
| col1-headers = 1,7
| col2-headers = 1,7
| col3-headers = 7
| col4-headers = 1
| col1-matches = 4,11
| col2-matches = 3,10
| col3-matches = 9
| col4-matches = 6
| col1-col2-paths = 4-3, 11-10
| col2-col3-paths = 3-3, 10-9
| col3-col4-paths = (3,9)-6
<!-- Defaults -->
| RD1 = Felső ág, 1. forduló
| RD2 = Felső döntő
| RD1b = Alsó ág, 1. forduló
| RD2b = Alsó ág, 2. forduló
| RD3b = Alsó döntő
}}
|
| | | | | | | | | | | | | | | | | | |
| Felső ág, 1. forduló | | | Felső döntő | | | | | | Döntő |
|
| | | |
|
| | | | |
| | | | |
| | | | | | | | | | | |
| | | | | | |
| | | | | | | |
| | |
| | | |
| | |
| Alsó ág, 1. forduló | Alsó ág, 2. forduló | Alsó döntő | | | | |
| | |
| | | | |
|
| | | |
| | |
| | | | | | | | | |
| | | | |
| | | | | | | | | |
| | | | |
| | | | | |
| | | | | | |
Keresztező ágak
{{#invoke:Build bracket|main
| rounds=2
| col1-matches = 3,7
| col2-matches = 3,7
| col1-col2-paths = 3-7, 7-3
| col1-col2-cross = 5
}}
Nincs kiemelés
{{#invoke:Build bracket|main
| rounds=2
| seeds=no
| col1-matches = 3,7
| col2-matches = 5
| col1-col2-paths = (3,7)-5
}}
Szöveggel
{{#invoke:Build bracket|main
| rounds=2
| col1-matches = 3,6
| col2-matches = 4.5
| col1-col2-paths = (3,6)-4.5
| RD1-text1 = Szöveg 1
| RD1-text2 = Szöveg 2
| RD2-text1 = Szöveg 3
}}
|
| | | | | | | | |
| Elődöntők | | | Döntő |
|
| Szöveg 1 | |
|
| | |
| | | Szöveg 3 |
| | | | |
| | | | |
| Szöveg 2 | | |
| | | | |
| | | | |
| | | |
| | | | |
| | |
Csoportok megjelenítésével
{{#invoke:Build bracket|main
| rounds=3
| col1-matches = 3,6,9,12
| col2-matches = 4.5,10.5
| col3-matches = 7.5
| col1-col2-paths = (3,6)-4.5, (9,12)-10.5
| col2-col3-paths = (4.5,10.5)-7.5
| RD1-group1 = Csoport 1
| RD1-group2 = Csoport 2
| RD2-group1 = Csoport 3
}}
|
| | | | | | | | | | | | | |
| Negyeddöntők | | | Elődöntők | | | Döntő |
|
| | | |
|
| | |
| | | |
| | | | |
| | | | |
| Csoport 1 | | | | |
| | | | | | |
| | | | | | |
| | | | |
| | | | |
| | | | |
| Csoport 3 | | |
| | | | |
| | | | | | | |
| | | | |
| | | | |
| | | | |
| Csoport 2 | | | | |
| | | | | | |
| | | | | | |
| | | |
| | | | |
| | | | |
Több mérkőzés körönként
{{#invoke:Build bracket|main
| rounds=3
| legs = 2
| RD1-legs = 3
| col1-matches = 3,6,9,12
| col2-matches = 4.5,10.5
| col3-matches = 7.5
| col1-col2-paths = (3,6)-4.5, (9,12)-10.5
| col2-col3-paths = (4.5,10.5)-7.5
}}
|
| | | | | | | | | | | | | | | | | |
| Negyeddöntők | | | Elődöntők | | | Döntő |
|
| | | |
|
| | | | |
| | | |
| | | | | | |
| | | | | |
| | | | | |
| | | | | | | |
| | | | | | | | |
| | | | |
| | | | | | |
| | | | | |
| | | |
| | | | | |
| | | | | | | | | |
| | | | |
| | | | | | |
| | | | | |
| | | | | |
| | | | | | | |
| | | | | | | | |
| | | |
| | | | | | |
| | | | |
Összesítés
{{#invoke:Build bracket|main
| rounds=3
| legs=2
| aggregate=y
| col1-matches = 3,6,9,12
| col2-matches = 4.5,10.5
| col3-matches = 7.5
| col1-col2-paths = (3,6)-4.5, (9,12)-10.5
| col2-col3-paths = (4.5,10.5)-7.5
}}
|
| | | | | | | | | | | | | | | | | | | |
| Negyeddöntők | | | Elődöntők | | | Döntő |
|
| | | |
|
| | | | |
| | | |
| | | | | | |
| | | | | | |
| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | |
| | | | | | |
| | | | | | |
| | | |
| | | | | | |
| | | | | | | | | |
| | | | |
| | | | | | |
| | | | | | |
| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | |
| | | | | | |
| | | | |
Kiemeléssel
{{#invoke:Build bracket|main
| rounds=3
| RD1-byes = y
| col1-matches = 3,6,9,12
| col2-matches = 4.5,10.5
| col3-matches = 7.5
| col1-col2-paths = (3,6)-4.5, (9,12)-10.5
| col2-col3-paths = (4.5,10.5)-7.5
| RD1-team1 = Csapat 1
| RD1-team2 = Csapat 2
}}
|
| | | | | | | | | | | | | |
| Negyeddöntők | | | Elődöntők | | | Döntő |
|
| | | |
|
| Csapat 1 | |
| | | |
| Csapat 2 | | | |
| | | | |
| | | | | |
| | | | | | |
| | | |
| | |
| |
| | |
| | | |
| | | | |
| | | | | | |
| | |
| |
| | |
| | | |
| | | | |
| | | |
| | | | | |
Számozott paraméterekkel
{{#invoke:Build bracket|main
| rounds=2
| col1-matches = 3,7
| col2-matches = 5
| col1-col2-paths = (3,7)-5
| paramstyle = numbered
| seeds = yes
| Szöveg 1 | 1 | Csapat 1 | 5 | 4 | Csapat 2 | 11
| Szöveg 2 | 2 | Csapat 3 | 6 | 3 | Csapat 4 | 3
| Szöveg 3 | 4 | Csapat 2 | 2 | 2 | Csapat 3 | 1
}}
|
| | | | | | | | |
| Elődöntők | | | Döntő |
|
| Szöveg 1 | |
|
| 1 | Csapat 1 | 5 |
| | |
| 4 | Csapat 2 | 11
| | | Szöveg 3 |
| | |
| | 4 | Csapat 2 | 2 |
| | |
| Szöveg 2 | | | 2 | Csapat 3 | 1
|
| | |
| 2 | Csapat 3 | 6 | |
| | |
| 3 | Csapat 4 | 3
| | |
| | |
A győztes vastagbetűvel
{{#invoke:Build bracket|main
| rounds=2
| legs = 3
| boldwinner=y
| col1-matches = 3,7
| col2-matches = 5
| col1-col2-paths = (3,7)-5
| RD1-seed1 = 1 | RD1-team1 = Csapat 1 | RD1-score1-1 = 5 | RD1-score1-2 = 12 | RD1-score1-3 = 15
| RD1-seed2 = 4 | RD1-team2 = Csapat 2 | RD1-score2-1 = 11 | RD1-score2-2 = 10 | RD1-score2-3 = 4
| RD1-seed3 = 2 | RD1-team3 = Csapat 3 | RD1-score3-1 = 6 | RD1-score3-2 = 13 | RD1-score3-3 = {{ndash}}
| RD1-seed4 = 3 | RD1-team4 = Csapat 4 | RD1-score4-1 = 3 | RD1-score4-2 = 2 | RD1-score4-3 = {{ndash}}
| RD2-seed1 = 4 | RD2-team1 = Csapat 2 | RD2-score1-1 = 2 | RD2-score1-2 = 2 | RD2-score1-3 = 5
| RD2-seed2 = 2 | RD2-team2 = Csapat 3 | RD2-score2-1 = 1 | RD2-score2-2 = 7 | RD2-score2-3 = 2
}}
|
| | | | | | | | | | | | |
| Elődöntők | | | Döntő |
|
| | |
|
| 1 | Csapat 1 | 5 | 12 | 15 |
| | |
| 4 | Csapat 2 | 11 | 10 | 4 | | | |
| | |
| | 4 | Csapat 2 | 2 | 2 | 5 |
| | | |
| | | 2 | Csapat 3 | 1 | 7 | 2 |
| | | |
| 2 | Csapat 3 | 6 | 13 | – | |
| | |
| 3 | Csapat 4 | 3 | 2 | – | | |
| | |