Module:RoundN/doc: Difference between revisions

Content deleted Content added
alpha release and basic doc
Line 12:
! Description
|-
|style='text-align:center;vertical-align:top'| {{#invoke:Headless TOC|main|'''columns'''}}
| Number of columns/eliminations (3 columns for Round8, 4 columns for Round16, etc.)
 
Line 18:
* For <code>columns</code> ''less than 4'' (i.e. Round2-Round8), the 3rd Place match box is hidden by default. For <code>columns</code> ''greater or equal to 4'', the 3rd Place match box is visible by default. This reflects the behavior of the templates prior to this module's release.
|-
|style='text-align:center;vertical-align:top'|{{#invoke:Headless TOC|main|{{{#}}}}}
|Unnamed parameters (i.e. a value not prefixed by <code>[param_name] =</code>) are read sequentially in groups of 5 such that:
====Template 1====
Line 43:
 
'''Note:'''
*The next 5 unnamed parameters that would have populated the skipped box will be ignored regardless of value unless <code>omit_blanks</code> is set to 'yes' (see below).
*SkippingMatch skipping is currently only allowed in the first round (in this case, the 'Semi Finals'). For example, setting <code>columns=3</code> normally has 4 matches in the first round; thus, skipmatch5 and beyond will be ignored.
|-
|style='text-align:center;vertical-align:top'|omit_blanks
Line 58:
====Template 2====
turned off by default because most templates made before the release of this module were required to use empty parameters as placeholders.)
<pre>{{#invoke:RoundN|main|columns=3
|bold_winner=yes
|widescore=yes
|Feb 1|A|7|B|5
|Feb 1|C|1|D|2
|Feb 1|E|3|F|5
|Feb 2|G||H|
|Feb 2|A|3 (5)|C|3 (6)
|Feb 3|F|||
}}</pre>
{{#invoke:RoundN|main|columns=3
|bold_winner=yes
|widescore=yes
|Feb 1|A|7|B|5
|Feb 1|C|1|D|2
|Feb 1|E|3|F|5
|Feb 2|G||H|
|Feb 2|A|3 (5)|C|53 (6)
|Feb 3|F|||
}}
'''Note:'''
* If entering a score that includes non-numbers{{--}}such as <code>3 (6)</code>, the Semi Final score for team C in the above example{{--}}the module will first remove all non-digit characters and concatenate the rest. For example, <code>3 (5)</code> and <code>3 (6)</code> would be converted to <code>35</code> and <code>36</code>, respectively, before being compared. This should be valid for most cases, however, you may override using the <code>manualboldmatch[#]</code> parameter.
* Also modified by <code>low_score_wins</code> parameter.
* If scores are tied, neither are bolded.
 
|}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |