Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Team bracket/doc
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Parameters === {| class="wikitable" |- ! Parameter !! Description |- {{#switch:{{NAMESPACE}} | Module = {{!}} <code>rounds</code> {{!!}} number of rounds. Use <code>1</code> for a 2 team bracket, <code>2</code> for a 4 team bracket, <code>3</code> for an 8 team bracket, ... | #default = }} |- | <code>maxround</code> || maximum round to display. This parameter should be omitted unless it is less than the default value set by <code>rounds</code>. |- | <code>seed-width</code> || the width of the cells for seeds. Plain numbers are assumed to be in px units (e.g., <code>25</code> or 25px <code>2em</code> for 2em or <code>auto</code> for automatic width sizing) |- | <code>team-width</code> || the width of the cells for team names. Plain numbers are assumed to be in px units (e.g., <code>200</code> for 200px or <code>15em</code> for 15em or <code>auto</code> for automatic width sizing) |- | <code>score-width</code> || the width of the cells for scores. Plain numbers are assumed to be in px units (e.g., <code>25</code> or 25px <code>2em</code> for 2em or <code>auto</code> for automatic width sizing) |- | <code>compact</code> || set to <code>yes</code> for compact bracket and to disable groups. |- | <code>seeds</code> || set to <code>no</code> to omit seed cells, and <code>yes</code> to always show seed cells |- | <code>sets</code> or <code>legs</code> || the number of sets/legs in each round of matches (delimit with / for different numbers of sets or legs per round) |- | <code>nowrap</code> || set to <code>yes</code> to prevent lines from wrapping |- | <code>byes</code> || set to <code>1</code>, <code>2</code>, ... to specify the maximum round number with byes |- | <code>boldwinner</code> || set to <code>high</code> to automatically bold the seed/team/scores for the team with the highest score, and <code>low</code> for the lowest score |- | <code>hideomittedscores</code> || set to <code>1</code> to hide all omitted score cells. To only omit score cells from the second set or leg onwards, use <code>2</code> |- | <code>sepwidth</code> || set to <code>1</code> or <code>2</code> to override the default separator width |- | <code>headings</code> || set to <code>no</code> to omit the column headings |- | <code>RD<sub>n</sub></code> || The name of round ''n''. Defaults are "Round of ''m''", ..., "Quarterfinals", "Semifinals", and "Finals", where ''m'' is the number of teams in the round. |- | <code>RD<sub>n</sub>-group<sub>m</sub></code> || The name of group ''m'' in round ''n''. For each round, every set of four teams is classified as a group. |- | <code>RD<sub>n</sub>-seed<sub>m</sub></code> || The seed of team ''m'' in round ''n''. For round 1, this value defaults to the conventional seed allocation for tournaments. If omitted, the cell is hidden. To hide seeds for round 1, the value must be explicitly set to be empty. ''m'' is the zero-padded position. |- | <code>RD<sub>n</sub>-team<sub>m</sub></code> || The name of team ''m'' in round ''n''. |- | <code>RD<sub>n</sub>-score<sub>m</sub></code> || The score of team ''m'' in round ''n''. |- | <code>RD<sub>n</sub>-score<sub>m</sub>-<sub>s</sub></code> || The score of team ''m'' in round ''n'' and set ''s'' (or leg for multileg matches). Alternatively, the last score in the round can be specified using the <code>-agg</code> suffix. |- | <code>RD1-omit</code> || Selectively omit teams from the first round. For example, use <code>1 / 2 / 5 / 6</code> to omit team1, team2, team5, and team6 from the first round. |- | <code>RD-shade</code> || Background color for the <code>RD<sub>n</sub></code> headings |- | <code>RD<sub>n</sub>-shade<sub>m</sub>-<sub>s</sub></code> || Background coloring for team ''m'' in round ''n'' and set ''s'' (or leg for multileg matches). |- | <code>RD<sub>n</sub>-RD<sub>n+1</sub>-path</code> || Set to <code>0</code> to omit the path between round ''n'' and round ''n+1''. |- | <code>float</code> || Float the bracket to the <code>left</code> or <code>right</code> or <code>center</code> or <code>centre</code> of the page. |- | <code>clear</code> || Set to <code>no</code> to prevent "clearing" the left/right side of the page before floating to the left/right. This parameter is only valid with {{para|float|left}} or {{para|float|right}}. |- | <code>aggregate</code> || Set to <code>sets</code> or <code>legs</code> to sum the sets/legs won and append to the end of the scores. Set to <code>score</code> to sum the scores from each set/leg and append to the end of the scores. Set to <code>y</code> or <code>yes</code> to enable the <code>-agg</code> suffix, but without any auto computation. Only works when there are two or more legs/sets in the round. Any automatically computed value can be overridden by setting the value manually with the <code>-agg</code> suffix for the score. |}
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)