Template:Judo Bracket QF
{{Judo Bracket QF}} is part of a template family implementing Module:RoundN for usage in judo competition articles. The template {{Judo score}} is embedded into this template. This template is designed to be used for pool brackets ending at the Quarter-finals stage, with 2 to 32 teams \ judoka per pool (up to 128 per competition).
Usage
[edit]Standard use syntax
[edit]First round | Round of 16 | Quarter-finals | ||||||||
{{Judo Bracket QF|N8
| skipmatch =
| team-width =
| widescore =
| flex_tree =
<!-- /Team 1/Score 1/Team 2/Score 2 -->
<!-- first round -->
|||||
|||||
|||||
|||||
<!-- round of 16 -->
|||||
|||||
<!-- quarterfinals -->
|||||
}}
Module:RoundN Equivalent usage
[edit]{{#invoke:RoundN|N8
| skipmatch =
| omit_blanks = yes
| bold_winner = high
| 3rdplace = no
| team-width =
| widescore =
| flex_tree =
| RD1 = First round
| RD2 = Round of 16
| RD3 = Quarter-finals
<!-- /Team 1/Score 1/Team 2/Score 2 -->
<!-- first round -->
|||{{Judo score|{{trim|}}}}||{{Judo score|{{trim|}}}}
|||{{Judo score|{{trim|}}}}||{{Judo score|{{trim|}}}}
|||{{Judo score|{{trim|}}}}||{{Judo score|{{trim|}}}}
|||{{Judo score|{{trim|}}}}||{{Judo score|{{trim|}}}}
<!-- round of 16 -->
|||{{Judo score|{{trim|}}}}||{{Judo score|{{trim|}}}}
|||{{Judo score|{{trim|}}}}||{{Judo score|{{trim|}}}}
<!-- quarterfinals -->
|||{{Judo score|{{trim|}}}}||{{Judo score|{{trim|}}}}
}}
Full syntax
[edit]{{Judo Bracket QF|N32
| style =
| skipmatch =
| omit_blanks =
| bold_winner =
| manualboldmatch =
| previewnumbers =
| team-width =
| score-width =
| flex_tree =
| short_brackets =
| RD1 =
| RD2 =
| RD3 =
| RD4 =
| RD5 =
<!-- /Team 1/Score 1/Team 2/Score 2 -->
<!-- first round -->
|||||
|||||
|||||
|||||
|||||
|||||
|||||
|||||
|||||
|||||
|||||
|||||
|||||
|||||
|||||
|||||
<!-- round of 64 -->
|||||
|||||
|||||
|||||
|||||
|||||
|||||
|||||
<!-- round of 32 -->
|||||
|||||
|||||
|||||
<!-- round of 16 -->
|||||
|||||
<!-- quarterfinals -->
|||||
}}
Parameter list
[edit]- red parameter names are required.
Parameter name | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
N## | Number of slots for judoka in pool. N32 \ N16 \ N8 \ N4 \ N2.
N32 will be a five-stage-pool with 17 to 32 judoka. N8 will be a three-stage-pool with 5 to 8 judoka. | |||||||||||||||||||||||||||||||||||||||||||||||||||
{{{#}}} | Unnamed parameters (i.e. a value not prefixed by [param_name] = ) are read sequentially in groups of 5 such that:
Example 1[edit]{{Judo Bracket QF|N4
|Day 1|A|10s1|B|01s2
|Day 2|C|11s0|D|00s3
|tdb|A||C|
}}
Placing each group of 5 on a new line is optional, but does make it easier to read. Also, consider adding the comments such as | |||||||||||||||||||||||||||||||||||||||||||||||||||
style | Set the style parameter to add custom CSS to the bracket.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
skipmatch | If set, boxes for the #th match will not be shown. Most often used for playoffs or when the number of teams playing in the first round is not a power of 2. | |||||||||||||||||||||||||||||||||||||||||||||||||||
omit_blanks | If omit_blanks is set to yes (which is the default setting), then all parameters that would have been skipped will instead be shifted to the next non-skipped box.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
bold_winner | The bold_winner parameter accepts either 'high' (the default setting) or 'low' , which will automatically bold the text of the participant with the higher or lower score, respectively. In other words, set this to 'low' if the lower score wins and 'high' if the high score wins.
Note:
| |||||||||||||||||||||||||||||||||||||||||||||||||||
manualboldmatch | Used to prevent automatic bolding in the indicated matches. | |||||||||||||||||||||||||||||||||||||||||||||||||||
previewnumbers | Set |previewnumbers = yes to show numbers next to each match (useful for skipmatch and manualboldmatch ) when viewing on the template page.
Note that these numbers will not appear in article space. | |||||||||||||||||||||||||||||||||||||||||||||||||||
team-width | Set team-width to the desired width in pixels. (Default is 170)
| |||||||||||||||||||||||||||||||||||||||||||||||||||
score-width | Set score-width to the desired width in pixels. (Default is 30)
| |||||||||||||||||||||||||||||||||||||||||||||||||||
widescore | Setting |widescore=yes is equivalent to setting |score-width=60 , and is used for penalties to be shown properly. Ignored if score-width is set.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
flex_tree | Set |flex_tree=yes to make the brackets vertically more compact. That is, to have less space between matches of the same round.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
short_brackets | Set |short_brackets=yes to make the brackets horizontally more compact. That is, to have less space between matches of following rounds.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
RD## | Allows to overried the Automated stage names. |
Deprecated parameters
[edit]The following is a list of Module:RoundN that are not supported by this template:
- columns
- skipmatch##
- manualboldmatch##
- Consol
- scroll_height
- scroll_head_unlock
- 3rdplace
- color
- color_repechage
See also
[edit]- {{Judo Bracket}}
- {{Judo Bracket QF}}
- {{Judo Repechage}}