Difference between revisions of "Template:7TeamBracket"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
(change nbsp padding to inline-css padding and add tracking to find problematic usage template syntax update)
blackwiki>Blaixx
(use documentation template)
Line 149: Line 149:
 
|-
 
|-
 
|}{{#invoke:Team bracket tracking|tracking}}<noinclude>
 
|}{{#invoke:Team bracket tracking|tracking}}<noinclude>
----
+
{{documentation}}
See [[Template talk:{{PAGENAME}}|this template's talk page]] for information on how to use this template.
 
==See also==
 
*[[Template:6TeamBracket]]
 
*[[Template:6TeamBracket-with 3rd]]
 
*[[Template:4TeamBracket]]
 
*[[Template:8TeamBracket]]
 
*[[Template:16TeamBracket]]
 
 
 
[[Category:7-Team bracket templates]]
 
 
 
 
</noinclude>
 
</noinclude>

Revision as of 14:10, 28 September 2019

  Quarterfinals     Semifinals     Finals
                           
  4        
  5        
        1      
                     
               
           
  2                        
  7                  
                 
               
  3        
  6      
50px Template documentation[view] [edit] [history] [purge]

Template description: This template generates a generic 7-team tournament bracket.

Infobox code

{{7TeamBracket
| RD1=
| RD2=
| RD3=
| group1=
| group2=

| score-width=
| team-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=

| RD1-seed5=
| RD1-team5=
| RD1-score5=
| RD1-seed6=
| RD1-team6=
| RD1-score6=

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

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

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

Template parameters

  • RD1, RD2, RD3 — [OPTIONAL] The names of each respective round. Defaults to "Quarterfinals", "Semifinals", and "Finals", respectively.
  • group1, group2 — [OPTIONAL] The name of the first group of four team, and the name of the last group of four, respectively.
  • team-width — [OPTIONAL] The width (in pixels) of the team field for each game/match. This is useful if you need room for complex scores (e.g. Tennis). Defaults to 125 pixels.
  • score-width — [OPTIONAL] The width (in pixels) of the score field for each game/match. This is useful if you need room for complex scores (e.g. Tennis). Defaults to 25 pixels.
  • The rest of the parameters fill in the bracket and consists of the form X-YZ where
    • X is the specific round
    • Y is either the team's seed, name, or score
    • Z is the specific placement on the bracket, counting from top to bottom.

See also