Module:Build bracket/doc: Difference between revisions

Content deleted Content added
Line 10:
| rows =
 
| col1-headers =
<!--Column 1 -->
| 0col1-1teams =
| 1col1-1text =
| 2col1-1lines =
| 3-1 =
...
 
| col2-headers =
<!--Column 1.5 -->
| 0col2-1ateams =
| 1col2-1atext =
| 2col2-1alines =
| 3-1a =
...
 
<!--Column 2 -->
| 0-2 =
| 1-2 =
| 2-2 =
| 3-2 =
...
 
| col1-col2-paths =
| col2-col3-paths =
 
...
}}
</pre>
Line 36 ⟶ 31:
{| border=1 cellpadding=0 cellspacing=0 style="font-size: 90%; margin:1em 2em 1em 1em;" style="text-align:center"
|-
| &nbspstyle="border:0;" | || style="border:0;" | || style="border:0;" | <code>0-1</code> || style="border:0;" || <code>0-2</code> || style="border:0;" || <code>0-3</code> || style="border:0;" | …
|-
| style="border:0;" | <code>0</code> || || || || || …
|-
| style="border:0;" |
| width=5 | &nbsp;
| width=175 | &nbsp;
| width=45 | &nbsp;
| width=175 | &nbsp;
| width=45 | &nbsp;
| width=175 | &nbsp;
| width=45 175 | …
|-
| &nbspstyle="border:0;" || <code>1-1</code> || <code>1-1a</code> || <code>1-2</code> || <code>1-2a</code> || <code>1-3</code> || …
|-
| &nbspstyle="border:0;" || <code>2-1</code> || <code>2-1a</code> || <code>2-2</code> || <code>2-2a</code> || <code>2-3</code> || …
|-
| &nbspstyle="border:0;" || <code>3-1</code> || <code>3-1a</code> || <code>3-2</code> || <code>3-2a</code> || <code>3-3</code> || …
|-
| &nbspstyle="border:0;" || ⋮ || || ⋮ || ⋮ || ⋮ || ⋱
|}
 
Line 68 ⟶ 64:
| colspan=2 |
|-
| <code>col<i>nm</i>-<i>m</i></code>headers || EntryEnter forthe row ''n''numbers where headers are desired in column ''m''. ValidSeparate entries are<code>header</code>,with <code>team</code>, or <code>text</code>. Note: {{para|0-m}} will only accept <code>header</code> for all ''m''.
|-
| <code>col<i>nm</i>-<i>m</i>a</code>teams || TheEnter linethe pathrow codenumbers directlywhere afterteams ''n''are desired in column ''m''. SeeSeparate belowentries forwith details<code>,</code>.
|-
| <code>col<i>m</i>-text || Enter the row numbers where text is desired in column ''m''. Separate entries with <code>,</code>.
|-
| <code>col<i>m</i>-lines || Enter the row numbers where a line is desired in column ''m''. Separate entries with <code>,</code>.
|-
| <code>col<i>m</i>-col<i>m</i>+1-paths</code> || Enter the row number where the start of a path is desired between columns ''m'' and ''m''+1, followed by <code>:</code> and the path code (separated by <code>,</code>). Separate entries with <code>;</code>.
|-
| colspan=2 |
Line 106 ⟶ 108:
 
=== Path codes ===
Path codes are entered in the form <code>| col<i>m</i>-col<i>m</i>+1-paths = <i>row number</i>: <i>path code</i>, <i>path code</i>, ..., <i>path code</i>; <i>row number</i>: <i>path code</i>, <i>path code</i>, ..., <i>path code</i>;</code>
Path codes are only accepted in parameters of the form {{para|''n''-''m''a}}.
{| class="wikitable"
|-
! InputCode !! Output !! Notes
|-
|<code>out</code>
Line 179 ⟶ 181:
|-
| width=5 style="border-width:1px 1px 0 0; border-style:solid;border-color:black;" | &nbsp; || width=5 style="border-width:0 0 0 1px; border-style:solid;border-color:black;" | &nbsp;
|}
 
Path codes that start in row ''n'' control the paths between row ''n'' and ''n+1'' and are created from top to bottom. Overlap may occur. For example, the code <code>| col1-col2-paths = 3: out down, down, in, down, down out;</code> would create the following path between columns 1 and 2, staring at row 3:
 
{| border=0 cellspacing=0 style="font-size: 90%; margin:1em 2em 1em 1em;"
|-
| Row 3 || width=5 style="border-width:0 0 1px 0; border-style:solid;border-color:black;" | &nbsp; || width=5 style="border-width:0 0 0 0; border-style:solid;border-color:black;" | &nbsp; || rowspan="2" | <code>out down</code>
|-
| Row 4 || width=5 style="border-width:1px 1px 0 0; border-style:solid;border-color:black;" | &nbsp; || width=5 style="border-width:0 0 0 1px; border-style:solid;border-color:black;" | &nbsp; || rowspan="2" | <code>down</code>
|-
| Row 5 || width=5 style="border-width:0 1px 0 0; border-style:solid;border-color:black;" | &nbsp; || width=5 style="border-width:0 0 1px 1px; border-style:solid;border-color:black;" | &nbsp; || rowspan="2" | <code>in</code>
|-
| Row 6 || width=5 style="border-width:0 1px 0 0; border-style:solid;border-color:black;" | &nbsp; || width=5 style="border-width:1px 0 0 1px; border-style:solid;border-color:black;" | &nbsp; || rowspan="2" | <code>down</code>
|-
| Row 7 || width=5 style="border-width:0 1px 1px 0; border-style:solid;border-color:black;" | &nbsp; || width=5 style="border-width:0 0 0 1px; border-style:solid;border-color:black;" | &nbsp; || rowspan="2" | <code>down out</code>
|-
| Row 8 || width=5 style="border-width:1px 0 0 0; border-style:solid;border-color:black;" | &nbsp; || width=5 style="border-width:0 0 0 0; border-style:solid;border-color:black;" | &nbsp; ||
|}