Template:Rrb row: Difference between revisions
Appearance
m Replacing old documentation reference with new Documentation template. |
Pepperonipi (talk | contribs) Added condition_full param |
||
| Line 1: | Line 1: | ||
{{#switch:{{{condition|}}} | {{#switch:{{{condition|}}} | ||
|cancelled= | |cancelled= | ||
{{!}}colspan="{{{col|6}}} | {{!}}colspan="{{{col|6}}}" {{!}}''Cancelled {{#if: {{{condition_reason|}}}{{{condition_full|}}}|{{#if:{{{condition_full|}}}|{{{condition_full|}}}|due to {{{condition_reason|}}}}}}}'' | ||
{{!}} {{{date|}}} | {{!}} {{{date|}}} | ||
{{!}} {{{teams|}}} | {{!}} {{{teams|}}} | ||
{{!}} {{{bids|}}} | {{!}} {{{bids|}}} | ||
|notheld= | |notheld= | ||
{{!}}colspan="{{{col|6}}} | {{!}}colspan="{{{col|6}}}" {{!}}''Not held {{#if: {{{condition_reason|}}}{{{condition_full|}}}|{{#if:{{{condition_full|}}}|{{{condition_full|}}}|due to {{{condition_reason|}}}}}}}'' | ||
{{!}} {{{date|}}} | {{!}} {{{date|}}} | ||
{{!}} {{{teams|}}} | {{!}} {{{teams|}}} | ||
Latest revision as of 18:34, 18 March 2021
| | | | | | | | | |-
The Rrb row template (abbreviated for Regional results box row template) is a template used to construct rows in a Regional results box template. Without this template, the Regional results box template cannot be used, and a Regional results box template will often contain multiple of these templates to represent multiple rows.
Parameters
first_name- the name of the first-placing schoolfirst_note- a superscript note to be placed next to the first-placing school in case that footnotes are beneficial to the tablefirst_points- the number of points earned by the first-placing schoolfirst_states_place- the place the first-placing school earned at the state tournamentfirst_states_points- the number of points the first-placing school earned at the state tournamentsecond_name,second_note,second_points,second_states_place, andsecond_states_points- parameters similar to the first three above, but for the second-placing schoolthird_name,third_note,third_points,third_states_place, andthird_states_points- parameters similar to the first three, but for the third-placing school
condition- a special condition for this row (such as the tournament being cancelled, see Conditions below for more)condition_reason- the reason for the conditioncol- the number of columns in the main Regional results box template (default: 6)date- the date of the tournamentteams- the number of teams at the tournamentbids- the number of state bids the regional had
Conditions
| Condition | Explanation |
|---|---|
cancelled
|
represents that the tournament was cancelled that year |
notheld
|
represents that the tournament was not held that year |
Examples
See the Examples section of the Regional results box template documentation to see how this template is used.