Content deleted Content added
more params |
more params |
||
Line 15:
|style='text-align:center;vertical-align:top;width:9em'| {{TOC tab|'''columns'''}}
|
'''Note'''
Line 23:
|style='text-align:center;vertical-align:top'|{{TOC tab|{{{#}}}}}
|style='background-color:#fff'|Unnamed parameters (i.e. a value not prefixed by <code>[param_name] =</code>) are read sequentially in groups of 5 such that:
====Example 1====
<pre>{{#invoke:RoundN|main|columns=2
Line 40:
|style='text-align:center;vertical-align:top'| {{TOC tab|skipmatch[#]}}
|style='background-color:#fff'|No boxes will be shown for the #th match group. For example, adding <code><nowiki>|</nowiki>skipmatch2=yes</code> to '''Example 1''' will result in
{{#invoke:RoundN|main|columns=2|skipmatch2=yes
|Day 1|A|'''7'''|B|5
Line 55:
|style='text-align:center;vertical-align:top'|{{TOC tab|omit_blanks|depth=2}}
|style='background-color:#fff'|Add <code><nowiki>|omit_blanks=yes|skipmatch2=yes</nowiki></code> to '''Example 1''' and all parameters that would have been skipped will instead be shifted to the next non-skipped box. (This is turned off by default because most templates made before the release of this module were required to use empty parameters as placeholders.)
{{#invoke:RoundN|main|columns=2|skipmatch2=yes|omit_blanks=yes
|Day 1|A|'''7'''|B|5
Line 65:
|style='text-align:center;vertical-align:top'|{{TOC tab|bold_winner}}
|style='background-color:#fff'|Instead of using wikimark-up to bold the names/scores, just set <code>bold_winner</code> like in the following:
====Example 2====
turned off by default because most templates made before the release of this module were required to use empty parameters as placeholders.)
Line 96:
|style='text-align:center;vertical-align:top'|{{TOC tab|low_score_wins|depth=2}}
|style='background-color:#fff'|Add <code>|low_score_wins=yes</code> to '''Example 2''' to bold the team with the lower score if <code>bold_winner</code> is set to yes. (Example is cropped to save space)
<div style='height:
|bold_winner=yes
|widescore=yes
Line 112:
|style='text-align:center;vertical-align:top'|{{TOC tab|manualboldmatch[#]|depth=2}}
|style='background-color:#fff'|In the same manner as the <code>skipmatch</code> parameters, you may use <code>|manualboldmatch1=yes</code> on '''Example 2''' to prevent automatic bolding in the first group, etc. Again, leading zeroes may be added as desired.
<div style='height:150px;width:80%;overflow:
{{#invoke:RoundN|main|columns=3 |bold_winner=yes
|widescore=yes
Line 125 ⟶ 126:
|Feb 3|F|||
}}</div>
|-
|style='text-align:center;vertical-align:top'|{{TOC tab|RD[#]}}
|style='background-color:#fff'|Use <code>RD#</code>, replacing # with the desired column such that 1 is the leftmost round and N is the rightmost when <code>columns = N</code>. For example:
<pre>{{#invoke:RoundN|main|columns=7|
|RD1 = Auditions|RD3 = Blah Blah|RD7 = Championship
}}</pre>
<div style='height:150px;width:80%;overflow:scroll'>
{{#invoke:RoundN|main|columns=7|
|RD1 = Auditions|RD3 = Blah Blah|RD7 = Championship
}}
</div>
|-
|style='text-align:center;vertical-align:top'|{{TOC tab|color}}
|style='background-color:#fff'|Add <code><nowiki>|color=yes</nowiki></code>
{{#invoke:RoundN|main|columns=3
|color=yes
|3rdplace=yes
|1||||
|2||||
|3||||
|4||||
|5||||
|6||||
|7|Gold medalist|3|Silver medalist|2
|8|Bronze medalist|1||0
}}
|}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
|