Template:5TeamBracket-QFwith3rd

From blackwiki
Revision as of 06:23, 21 November 2016 by blackwiki>Ham105 (add width paramters)
Jump to navigation Jump to search
  Qualifying finals Semi finals Final  
  width={Template:Seed-width         width={Template:Seed-width         width={Template:Seed-width width={Template:Team-width width={Template:Score-width  
   
        
                    
                     
                         
          
             Third place
               
                   
               
Template documentation[view] [edit] [history] [purge]

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

Example

{{5TeamBracket-QFwith3rd
<!--Date-Place-etc|Team 1|Score 1|Team 2|Score 2 -->
<!--Qualifying finals -->
|<small>26 January</small>|'''{{runionflag|TGA}}'''| '''7'''|{{runionflag|JPN}}|5
|<small>26 January</small>|{{runionflag|CHN}}|0|'''{{runionflag|AUS}}'''|'''64'''
<!--semi finals -->
|<small>29 January</small>|'''{{runionflag|RSA}}'''|'''68'''|{{runionflag|JPN}}|0
|<small>29 January</small>|{{runionflag|TGA}}|5|'''{{runionflag|AUS}}'''|'''47'''
<!--Final -->
|<small>1 February</small>|'''{{runionflag|RSA}}'''|'''22'''|{{runionflag|AUS}}|7
<!--Third place -->
|<small>1 February</small>|'''{{runionflag|TGA}}'''|'''26'''|{{runionflag|JPN}}| 0
<!--all seedings default to an empty string -->
|RD1-seed1=3
|RD1-seed2=4
|RD1-seed3=5
|RD1-seed4=2
|RD2-seed1=1
|RD2-seed2=Q3
|RD2-seed3=Q2
|RD2-seed4=Q1
|RD3-seed1={{gold1}}
|RD3-seed2={{silver2}}
|Consol-seed1={{bronze3}}
}}
  Qualifying finals Semi finals Final  
  width={Template:Seed-width         width={Template:Seed-width         width={Template:Seed-width width={Template:Team-width width={Template:Score-width  
  29 January
  1  Template:Runionflag 68
  26 January     Q3  Template:Runionflag 0     1 February
  3  Template:Runionflag 7       1st place, gold medalist(s)  Template:Runionflag 22
  4  Template:Runionflag 5     29 January     Template:Silver2  Template:Runionflag 7
  Q2  Template:Runionflag 5  
  Q1  Template:Runionflag 47     Third place
  26 January         1 February  
  5  Template:Runionflag 0        Template:Runionflag 26
  2  Template:Runionflag 64    Template:Runionflag 0

Use the parameters listed below to customise the template. For example, putting |team-width=200}} in the last line will set the width of the team cells to 200 px. The following parameter values are acceptable:

Parameter value Description
RD1=name Renames Qualifying finals to name.
RD2=name Renames Semi finals to name.
RD3=name Renames Final to name.
Consol=name Renames Third place to name.
seed-width=mm Sets width of seed column to mm.
team-width=nn Sets width of teams to nn.
score-width=pp Sets width of scores to pp.
margin=1em 2em 1em 1em Sets table margins.

Blank Template

Standard usage

{{5TeamBracket-QFwith3rd
<!--Date-Place-etc|Team 1|Score 1|Team 2|Score 2 -->
<!--Qualifying finals -->
| | | | |
| | | | |
<!--semi finals -->
| | | | |
| | | | |
<!--Final -->
| | | | |
<!--Third place -->
| | | | |
}}

Optional parameters

<!--optional named parameters -->
RD1=
RD2=
RD3=
Consol=
team-width=
score-width=
seed-width=
margin= <!-- 1em 2em 1em 1em is the default for the table margins-->
<!--all seedings default to an empty space -->
|RD1-seed1=
|RD1-seed2=
|RD1-seed3=
|RD1-seed4=
|RD2-seed1=
|RD2-seed2=
|RD2-seed3=
|RD2-seed4=
|RD3-seed1=
|RD3-seed2=
|Consol-seed1=
|Consol-seed2=