Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Build bracket/doc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Examples == {{#switch:{{NAMESPACE}} | Module = '''Note''': These are only examples to illustrate parameters. Standard 4-team, 8-team, etc. brackets are better handled by [[Module:Team bracket]]. === Standard 4-team bracket === <pre style="overflow: auto;"> {{#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 = Grand Final | RD1-seed1 = 1 | RD1-seed3 = 2 }} </pre> {{#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 = Grand Final | RD1-seed1 = 1 | RD1-seed3 = 2 }} === 3-way bracket === <pre> {{#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 }} </pre> {{#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 }} === Double-elimination bracket === <pre> {{#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 = Upper round 1 | RD2 = Upper final | RD3b = Lower final }} </pre> {{#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 = Upper round 1 | RD2 = Upper final | RD3b = Lower final }} === Crossing paths === <pre> {{#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 }} </pre> {{#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 }} }} === No seeds === {{#switch:{{NAMESPACE}} | Module = <pre style="overflow: auto;"> {{#invoke:Build bracket|main | rounds=2 | seeds=no | col1-matches = 3,7 | col2-matches = 5 | col1-col2-paths = (3,7)-5 }} </pre> {{#invoke:Build bracket|main | rounds=2 | seeds=no | col1-matches = 3,6 | col2-matches = 4.5 | col1-col2-paths = (3,6)-4.5 }} |#default = {{#tag:syntaxhighlight| {{((}}{{BASEPAGENAME}}<nowiki> | seeds = no | RD1 = | RD1-seed1 = | RD1-team1 = | RD1-score1 = ...</nowiki> {{))}}|lang=moin}} {{{{#if:{{{limitexamples|}}}|void|{{BASEPAGENAME}}}}|seeds=no}} }} === Text === {{#switch:{{NAMESPACE}} | Module = <pre style="overflow: auto;"> {{#invoke:Build bracket|main | rounds=2 | col1-matches = 3,6 | col2-matches = 4.5 | col1-col2-paths = (3,6)-4.5 | RD1-text1 = Text 1 | RD1-text2 = Text 2 | RD2-text1 = Text 3 }} </pre> {{#invoke:Build bracket|main | rounds=2 | col1-matches = 3,6 | col2-matches = 4.5 | col1-col2-paths = (3,6)-4.5 | RD1-text1 = Text 1 | RD1-text2 = Text 2 | RD2-text1 = Text 3 }} |#default = {{#tag:syntaxhighlight| {{((}}{{BASEPAGENAME}}<nowiki> | RD1-text1 = Text 1 | RD1-text2 = Text 2 | RD2-text1 = Text 3 | RD1 = | RD1-seed1 = | RD1-team1 = | RD1-score1 = ...</nowiki> {{))}}|lang=moin}} {{{{#if:{{{limitexamples|}}}|void|{{BASEPAGENAME}}}}|RD1-text1=Text 1|RD1-text2=Text 2|RD2-text1=Text 3}} }} === Groups === {{#switch:{{NAMESPACE}} | Module = <pre style="overflow: auto;"> {{#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 = Group 1 | RD1-group2 = Group 2 | RD2-group1 = Group 3 }} </pre> {{#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 = Group 1 | RD1-group2 = Group 2 | RD2-group1 = Group 3 }} |#default = {{#tag:syntaxhighlight| {{((}}{{BASEPAGENAME}}<nowiki> | RD1-group1 = Group 1 | RD1-group2 = Group 2 | RD2-group1 = Group 3 | RD1 = | RD1-seed1 = | RD1-team1 = | RD1-score1 = ...</nowiki> {{))}}|lang=moin}} {{{{#if:{{{limitexamples|}}}|void|{{BASEPAGENAME}}}}|RD1-group1=Group 1|RD1-group2=Group 2|RD2-group1=Group 3}} }} === Legs === {{#switch:{{NAMESPACE}} | Module = <pre style="overflow: auto;"> {{#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 }} </pre> {{#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 }} |#default = {{#tag:syntaxhighlight| {{((}}{{BASEPAGENAME}}<nowiki> | legs = 2 | RD1-legs = 3 | RD1 = | RD1-seed1 = | RD1-team1 = | RD1-score1-1= | RD1-score1-2= | RD1-score1-3= ...</nowiki> {{))}}|lang=moin}} {{{{#if:{{{limitexamples|}}}|void|{{BASEPAGENAME}}}}|legs=2|RD1-legs=3}} }} === Aggregate === {{#switch:{{NAMESPACE}} | Module = <pre style="overflow: auto;"> {{#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 }} </pre> {{#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 }} |#default = {{#tag:syntaxhighlight| {{((}}{{BASEPAGENAME}}<nowiki> | legs=2 | aggregate=y | RD1 = | RD1-seed1 = | RD1-team1 = | RD1-score1-1 = | RD1-score1-2 = | RD1-score1-agg= ...</nowiki> {{))}}|lang=moin}} {{{{#if:{{{limitexamples|}}}|void|{{BASEPAGENAME}}}}|legs=2|aggregate=y}} }} === Byes === {{#switch:{{NAMESPACE}} | Module = <pre style="overflow: auto;"> {{#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 = Team 1 | RD1-team2 = Team 2 }} </pre> {{#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 = Team 1 | RD1-team2 = Team 2 }} |#default = {{#tag:syntaxhighlight| {{((}}{{BASEPAGENAME}}<nowiki> | RD1-byes = y | RD1 = | RD1-seed1 = | RD1-team1 = Team 1 | RD1-score1 = | RD1-seed2 = | RD1-team2 = Team 2 | RD1-score2 = ...</nowiki> {{))}}|lang=moin}} {{{{#if:{{{limitexamples|}}}|void|{{BASEPAGENAME}}}}|RD1-byes=y|RD1-team1=Team 1|RD1-team2=Team 2}} }} === Numbered parameters === {{#switch:{{NAMESPACE}} | Module = <pre style="overflow: auto;"> {{#invoke:Build bracket|main | rounds=2 | col1-matches = 3,7 | col2-matches = 5 | col1-col2-paths = (3,7)-5 | paramstyle = numbered | seeds = yes | Text 1 | 1 | Team 1 | 5 | 4 | Team 2 | 11 | Text 2 | 2 | Team 3 | 6 | 3 | Team 4 | 3 | Text 3 | 4 | Team 2 | 2 | 2 | Team 3 | 1 }} </pre> {{#invoke:Build bracket|main | rounds=2 | col1-matches = 3,7 | col2-matches = 5 | col1-col2-paths = (3,7)-5 | paramstyle = numbered | seeds = yes | Text 1 | 1 | Team 1 | 5 | 4 | Team 2 | 11 | Text 2 | 2 | Team 3 | 6 | 3 | Team 4 | 3 | Text 3 | 4 | Team 2 | 2 | 2 | Team 3 | 1 }} |#default = {{#tag:syntaxhighlight| {{((}}{{BASEPAGENAME}}<nowiki> | paramstyle = numbered | RD1 = | Text 1 | Team 1 | S1 | Team 2 | S2 | Text 2 | Team 3 | S3 | Team 4 | S4 ...</nowiki> {{))}}|lang=moin}} {{{{#if:{{{limitexamples|}}}|void|{{BASEPAGENAME}}}}|paramstyle=numbered|1=Text 1|2=Team 1|3=S1 |4=Team 2|5=S2|6=Text 2|7=Team 3|8=S3|9=Team 4|10=S4}} }} {{#switch:{{NAMESPACE}} | Module = === Bold winner === <pre style="overflow: auto;"> {{#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 = Team 1 | RD1-score1-1 = 5 | RD1-score1-2 = 12 | RD1-score1-3 = 15 | RD1-seed2 = 4 | RD1-team2 = Team 2 | RD1-score2-1 = 11 | RD1-score2-2 = 10 | RD1-score2-3 = 4 | RD1-seed3 = 2 | RD1-team3 = Team 3 | RD1-score3-1 = 6 | RD1-score3-2 = 13 | RD1-score3-3 = {{ndash}} | RD1-seed4 = 3 | RD1-team4 = Team 4 | RD1-score4-1 = 3 | RD1-score4-2 = 2 | RD1-score4-3 = {{ndash}} | RD2-seed1 = 4 | RD2-team1 = Team 2 | RD2-score1-1 = 2 | RD2-score1-2 = 2 | RD2-score1-3 = 5 | RD2-seed2 = 2 | RD2-team2 = Team 3 | RD2-score2-1 = 1 | RD2-score2-2 = 7 | RD2-score2-3 = 2 }} </pre> {{#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 = Team 1 | RD1-score1-1 = 5 | RD1-score1-2 = 12 | RD1-score1-3 = 15 | RD1-seed2 = 4 | RD1-team2 = Team 2 | RD1-score2-1 = 11 | RD1-score2-2 = 10 | RD1-score2-3 = 4 | RD1-seed3 = 2 | RD1-team3 = Team 3 | RD1-score3-1 = 6 | RD1-score3-2 = 13 | RD1-score3-3 = {{ndash}} | RD1-seed4 = 3 | RD1-team4 = Team 4 | RD1-score4-1 = 3 | RD1-score4-2 = 2 | RD1-score4-3 = {{ndash}} | RD2-seed1 = 4 | RD2-team1 = Team 2 | RD2-score1-1 = 2 | RD2-score1-2 = 2 | RD2-score1-3 = 5 | RD2-seed2 = 2 | RD2-team2 = Team 3 | RD2-score2-1 = 1 | RD2-score2-2 = 7 | RD2-score2-3 = 2 }} |#default= {{{examples|}}} }} {{#switch:{{NAMESPACE}} | Module = == See also == * [[Module:Team bracket]] * [[Module:RoundN]] <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| <!-- Categories go here, and interwikis go in Wikidata --> [[Category:Sports modules]] }}</includeonly> | #default = {{#if:{{{see also|}}}| == See also == {{{see also|* {{tl|Build bracket}}}}} }} }}
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)