Module:Build bracket/doc: Difference between revisions

Content deleted Content added
Line 125:
 
=== Parameter hierarchy ===
*Whenever there are multiple headers in a single column, more than one parameter may be assigned to a cell value. For example, in the following bracket, both {{para|RD1-team3}} and {{para|RD1b-team1}} can be used to assign the third team in the first column:. By default, entries with subheader prefixes will override those without. In the below example, <code>RD1b-team1</code> will override any value that has been set by <code>RD1-team3</code>.
{{#invoke:Build bracket|main
| rounds = 1
Line 134:
| RD1-team3 = <code>RD1-team3</code> or <code>RD1b-team1</code>
}}
By default, entries with subheader prefixes will override those without. In the above example, <code>RD1b-team1</code> will override any value that has been set by <code>RD1-team3</code>.
 
*Parameters used in articles take precedence over parameters used in the template itself. For example, suppose ArticleX used the template NTeamBracket, and suppose NTeamBracket had the parameter {{para|RD1-seed1|1}} set. If ArticleX implemented <code><nowiki>{{NTeamBracket |RD1-seed1=2}}</nowiki></code>, then the first team in round 1 would have a seed of 2.
 
{{#switch:{{NAMESPACE}}