Difference between revisions of "Template:4RoundBracket-Byes-NoSeeds-2Legs/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>MicroX
(Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ===Usage=== ====Template description==== This template genera...')
 
blackwiki>MicroX
Line 16: Line 16:
 
| group1=
 
| group1=
 
| group2=
 
| group2=
 
+
| team-width=
 +
| score-width=
 
| RD1-team01=
 
| RD1-team01=
 
| RD1-score01-1=
 
| RD1-score01-1=
Line 128: Line 129:
 
*'''RD1, RD2, RD3, RD4'''&nbsp;– [OPTIONAL] The names of each round. Defaults are "First round", "Quarter-finals", "Semi-finals", and "Finals", respectively.
 
*'''RD1, RD2, RD3, RD4'''&nbsp;– [OPTIONAL] The names of each round. Defaults are "First round", "Quarter-finals", "Semi-finals", and "Finals", respectively.
 
*'''group1, group2'''&nbsp;– [OPTIONAL] The name of the first and second of two groups of eight first-round teams, respectively.
 
*'''group1, group2'''&nbsp;– [OPTIONAL] The name of the first and second of two groups of eight first-round teams, respectively.
 +
*'''team-width'''&nbsp;– [OPTIONAL] sets the width of the team name fields (13em by default).
 +
*'''score-width'''&nbsp;– [OPTIONAL] sets the width of the score fields (3em by default).
 
*Each team takes three [OPTIONAL] parameters&nbsp;– the team name, first leg score, and second leg score. The parameter names are of the form '''RD''n''-''xxxxtt''-''l''''', where:
 
*Each team takes three [OPTIONAL] parameters&nbsp;– the team name, first leg score, and second leg score. The parameter names are of the form '''RD''n''-''xxxxtt''-''l''''', where:
 
**'''''n''''' is the round number ('''1'''–'''4''')
 
**'''''n''''' is the round number ('''1'''–'''4''')

Revision as of 15:31, 5 June 2013

Usage

Template description

This template generates a 4-round tournament bracket with byes in the first round. Ties are played over two legs, no seeded teams and no aggregate scores.

Complete set of blank template parameters

{{4RoundBracket-Byes-NoSeeds-2Legs

| RD1=First round
| RD2=Quarter-finals
| RD3=Semi-finals
| RD4=Finals
| group1=
| group2=
| team-width=
| score-width=
| RD1-team01=
| RD1-score01-1=
| RD1-score01-2=
| RD1-team02=
| RD1-score02-1=
| RD1-score02-2=

| RD1-team03=
| RD1-score03-1=
| RD1-score03-2=
| RD1-team04=
| RD1-score04-1=
| RD1-score04-2=

| RD1-team05=
| RD1-score05-1=
| RD1-score05-2=
| RD1-team06=
| RD1-score06-1=
| RD1-score06-2=

| RD1-team07=
| RD1-score07-1=
| RD1-score07-2=
| RD1-team08=
| RD1-score08-1=
| RD1-score08-2=

| RD1-team09=
| RD1-score09-1=
| RD1-score09-2=
| RD1-team10=
| RD1-score10-1=
| RD1-score10-2=

| RD1-team11=
| RD1-score11-1=
| RD1-score11-2=
| RD1-team12=
| RD1-score12-1=
| RD1-score12-2=

| RD1-team13=
| RD1-score13-1=
| RD1-score13-2=
| RD1-team14=
| RD1-score14-1=
| RD1-score14-2=

| RD1-team15=
| RD1-score15-1=
| RD1-score15-2=
| RD1-team16=
| RD1-score16-1=
| RD1-score16-2=

| RD2-team01=
| RD2-score01-1=
| RD2-score01-2=
| RD2-team02=
| RD2-score02-2=
| RD2-score02-1=

| RD2-team03=
| RD2-score03-1=
| RD2-score03-2=
| RD2-team04=
| RD2-score04-1=
| RD2-score04-2=


| RD2-team05=
| RD2-score05-1=
| RD2-score05-2=
| RD2-team06=
| RD2-score06-1=
| RD2-score06-2=

| RD2-team07=
| RD2-score07-1=
| RD2-score07-2=
| RD2-team08=
| RD2-score08-1=
| RD2-score08-2=

| RD3-team01=
| RD3-score01-1=
| RD3-score01-2=
| RD3-team02=
| RD3-score02-1=
| RD3-score02-2=

| RD3-team03=
| RD3-score03-1=
| RD3-score03-2=
| RD3-team04=
| RD3-score04-1=
| RD3-score04-2=

| RD4-team01=
| RD4-score01-1=
| RD4-score01-2=
| RD4-team02=
| RD4-score02-1=
| RD4-score02-2=
}}

Parameter definitions

  • RD1, RD2, RD3, RD4 – [OPTIONAL] The names of each round. Defaults are "First round", "Quarter-finals", "Semi-finals", and "Finals", respectively.
  • group1, group2 – [OPTIONAL] The name of the first and second of two groups of eight first-round teams, respectively.
  • team-width – [OPTIONAL] sets the width of the team name fields (13em by default).
  • score-width – [OPTIONAL] sets the width of the score fields (3em by default).
  • Each team takes three [OPTIONAL] parameters – the team name, first leg score, and second leg score. The parameter names are of the form RDn-xxxxtt-l, where:
    • n is the round number (14)
    • xxxx is one of team or score
    • tt is the zero-padded position within the round, counting from top to bottom (0116)
    • l is the leg of the tie (1-2)

See also