Difference between revisions of "Template:4TeamBracket"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zzyzx11
(rv: a number of articles are still using the default values. Also, the empty spaces are needed in the second round when some seeding tournaments are "in progress")
m (109 revisions imported)
 
(80 intermediate revisions by 45 users not shown)
Line 1: Line 1:
{| border=0 cellpadding=0 cellspacing=0 style="font-size: 90%; margin:1em 2em 1em 1em;"
+
{{#invoke: TeamBracket | teamBracket | rounds=2  
|  
+
| autoseeds = y
| align="center" colspan="3" style="border:1px solid #aaa;" bgcolor=#f2f2f2|{{{RD1|Semifinals}}}
+
| RD1-group1 = {{{group1|}}}
| colspan="2" |
+
| RD1-seed01 = {{{RD1-seed01|1}}}
| align="center" colspan="3" style="border:1px solid #aaa;" bgcolor=#f2f2f2|{{{RD2|Finals}}}
+
| RD1-seed02 = {{{RD1-seed02|4}}}
 
+
| RD1-seed03 = {{{RD1-seed03|2}}}
|-
+
| RD1-seed04 = {{{RD1-seed04|3}}}
|  
+
}}<noinclude>
| width=40|&nbsp;
+
{{documentation}}
| width=200|&nbsp;
 
| width=40|&nbsp;
 
| width=15|&nbsp;
 
| width=15|&nbsp;
 
| width=40|&nbsp;
 
| width=200|&nbsp;
 
| width=40|&nbsp;
 
 
 
|-
 
| height=6|
 
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed1|1}}}
 
| style="border:1px solid #aaa;" bgcolor="#f9f9f9"| &nbsp;{{{RD1-team1|&nbsp;}}}
 
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score1|&nbsp;}}}
 
| align=center style="border-width:0 0 2px 0; border-style:solid;border-color:black;"|&nbsp;
 
 
 
|-
 
| height=6|
 
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed2|4}}}
 
| style="border:1px solid #aaa;" bgcolor="#f9f9f9"| &nbsp;{{{RD1-team2|&nbsp;}}}
 
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score2|&nbsp;}}}
 
| rowspan="4" align=center style="border-width:2px 2px 2px 0; border-style:solid;border-color:black;"|&nbsp;
 
 
 
|-
 
| height=6|
 
| rowspan="2" colspan="3"|&nbsp;
 
| align=center style="border-width:0 0 2px 0; border-style:solid;border-color:black;"|&nbsp;
 
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD2-seed1|&nbsp;}}}
 
| style="border:1px solid #aaa;" bgcolor="#f9f9f9"| &nbsp;{{{RD2-team1|&nbsp;}}}
 
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-score1|&nbsp;}}}
 
 
 
|-
 
| height=6|
 
| align=center style="border-width:2px 0 0 0; border-style:solid;border-color:black;"|&nbsp;
 
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD2-seed2|&nbsp;}}}
 
| style="border:1px solid #aaa;" bgcolor="#f9f9f9"| &nbsp;{{{RD2-team2|&nbsp;}}}
 
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD2-score2|&nbsp;}}}
 
 
 
|-
 
| height=6|
 
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed3|2}}}
 
| style="border:1px solid #aaa;" bgcolor="#f9f9f9"| &nbsp;{{{RD1-team3|&nbsp;}}}
 
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score3|&nbsp;}}}
 
 
 
|-
 
| height=6|
 
| align=center bgcolor="#f2f2f2" style="border:1px solid #aaa;"| {{{RD1-seed4|3}}}
 
| style="border:1px solid #aaa;" bgcolor="#f9f9f9"| &nbsp;{{{RD1-team4|&nbsp;}}}
 
| align=center style="border:1px solid #aaa;" bgcolor=#f9f9f9| {{{RD1-score4|&nbsp;}}}
 
| align=center style="border-width:2px 0 0 0; border-style:solid;border-color:black;"|&nbsp;
 
|}<noinclude>
 
----
 
See [[Template talk:{{PAGENAME}}|this template's talk page]] for information on how to use this template.
 
==See also==
 
*[[Template:8TeamBracket]]
 
*[[Template:16TeamBracket]]
 
 
 
[[Category:Tournament bracket templates|{{PAGENAME}}]]
 
 
 
[[da:Skabelon:4TeamBracket]]
 
[[de:Vorlage:4TeamBracket]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 14:54, 14 October 2020

Semifinals Finals
      
1  
4  
 
 
3  
2  
Template documentation[view] [edit] [history] [purge]

Usage

Template description

This template generates a generic 4-team (2-round) tournament bracket.

Complete set of blank template parameters

{{4TeamBracket 

| RD1         = 
| RD2         = 

| group1      = 
| group2      = 

| seed-width  = 
| team-width  = 
| score-width = 

| RD1-seed1   = 
| RD1-team1   = 
| RD1-score1  = 
| RD1-seed2   = 
| RD1-team2   = 
| RD1-score2  = 

| RD1-seed3   = 
| RD1-team3   = 
| RD1-score3  = 
| RD1-seed4   = 
| RD1-team4   = 
| RD1-score4  = 

| RD2-seed1   = 
| RD2-team1   = 
| RD2-score1  = 
| RD2-seed2   = 
| RD2-team2   = 
| RD2-score2  = 
}}

Parameter definitions

  • seed-width – [OPTIONAL] sets the width of the seed fields (25 by default).
  • team-width – [OPTIONAL] sets the width of the team name fields (150 by default).
  • score-width – [OPTIONAL] sets the width of the score fields (25 by default).
  • RD1, RD2 – [OPTIONAL] The names of each round. Defaults are "Semi-finals" and "Finals", respectively.
  • Each team takes three [OPTIONAL] parameters – the seed, team name, and score. The parameter names are of the form RDn-xxxxt, where:
    • n is the round number (12)
    • xxxx is one of seed, team, or score
    • t is the position within the round, counting from top to bottom (14)

There are 4 first-round (semifinals) teams and 2 second-round (finals) teams.

See also