Module:Build bracket/doc: Difference between revisions

Content deleted Content added
Line 518:
}}
 
=== Numbered parameter styleparameters ===
{{#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
 
| paramstyle = numbered
| RD1-seed1 = 1 | RD1-team1 = Team 1 | RD1-score1-1 = 5 | RD1-score1-2 = 12 | RD1-score1-3 = 15
| seeds = yes
| RD1-seed2 = 4 | RD1-team2 = Team 2 | RD1-score2-1 = 11 | RD1-score2-2 = 10 | RD1-score2-3 = 4
 
| RD1-seed3Text = 21 | RD1-team31 =| Team 31 | RD1-score3-15 = 6| 4 | RD1-score3-Team 2 = 13 | RD1-score3-3 = {{ndash}}11
| RD1-seed4Text = 32 | RD1-team42 =| Team 43 | RD1-score4-16 =| 3 | RD1-score4-2 = 2Team 4 | RD1-score4-3 = {{ndash}}
 
| RD2-seed1Text =3 | 4 | RD2-team1 = Team 2 | RD2-score1-1 = 2 | RD2-score1-2 =| 2Team 3 | RD2-score1-3 =1 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
 
| paramstyle = numbered
| RD1-seed1 = 1 | RD1-team1 = Team 1 | RD1-score1-1 = 5 | RD1-score1-2 = 12 | RD1-score1-3 = 15
| seeds = yes
| RD1-seed2 = 4 | RD1-team2 = Team 2 | RD1-score2-1 = 11 | RD1-score2-2 = 10 | RD1-score2-3 = 4
 
| RD1-seed3Text = 21 | RD1-team31 =| Team 31 | RD1-score3-15 = 6| 4 | RD1-score3-Team 2 = 13 | RD1-score3-3 = {{ndash}}11
| RD1-seed4Text = 32 | RD1-team42 =| Team 43 | RD1-score4-16 =| 3 | RD1-score4-2 = 2Team 4 | RD1-score4-3 = {{ndash}}
 
| RD2-seed1Text =3 | 4 | RD2-team1 = Team 2 | RD2-score1-1 = 2 | RD2-score1-2 =| 2Team 3 | RD2-score1-3 =1 5
| RD2-seed2 = 2 | RD2-team2 = Team 3 | RD2-score2-1 = 1 | RD2-score2-2 = 7 | RD2-score2-3 = 2
}}
|#default =
{{#tag:syntaxhighlight|
{{((}}{{BASEPAGENAME}}<nowiki>
| paramstyle = numbered
| RD1 =
 
| Text 1 | Team 1 | S1 | Team 2 | S2
=== Numbered parameter style ===
| 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=Team4|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
| paramstyle = numbered
| RD1-seed2 = 4 | RD1-team2 = Team 2 | RD1-score2-1 = 11 | RD1-score2-2 = 10 | RD1-score2-3 = 4
| seeds = yes
 
| TextRD1-seed3 1= 2 | 1RD1-team3 |= Team 13 | 5RD1-score3-1 |= 6 4 | Team RD1-score3-2 = 13 | 11RD1-score3-3 = {{ndash}}
| TextRD1-seed4 2= 3 | 2RD1-team4 |= Team 34 | 6RD1-score4-1 |= 3 | TeamRD1-score4-2 = 2 4 | RD1-score4-3 = {{ndash}}
 
| TextRD2-seed1 3 |= 4 | RD2-team1 = Team 2 | RD2-score1-1 = 2 | RD2-score1-2 |= Team2 3 | 1RD2-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
| paramstyle = numbered
| RD1-seed2 = 4 | RD1-team2 = Team 2 | RD1-score2-1 = 11 | RD1-score2-2 = 10 | RD1-score2-3 = 4
| seeds = yes
 
| TextRD1-seed3 1= 2 | 1RD1-team3 |= Team 13 | 5RD1-score3-1 |= 6 4 | Team RD1-score3-2 = 13 | 11RD1-score3-3 = {{ndash}}
| TextRD1-seed4 2= 3 | 2RD1-team4 |= Team 34 | 6RD1-score4-1 |= 3 | TeamRD1-score4-2 = 2 4 | RD1-score4-3 = {{ndash}}
 
| TextRD2-seed1 3 |= 4 | RD2-team1 = Team 2 | RD2-score1-1 = 2 | RD2-score1-2 |= Team2 3 | 1RD2-score1-3 = 5
| RD2-seed2 = 2 | RD2-team2 = Team 3 | RD2-score2-1 = 1 | RD2-score2-2 = 7 | RD2-score2-3 = 2
}}