Difference between revisions of "Template:Irb row"
Jump to navigation
Jump to search
Pepperonipi (talk | contribs) (Created page with "<noinclude> {{User:Pepperonipi/Wiki/Construction Template}} </noinclude> <includeonly> {{#switch:{{{condition|}}} |cancelled= {{!}}- {{!}} '''{{{year|}}}''' {{!}}colspan="57"...") |
Pepperonipi (talk | contribs) (Removed "sixth" parameter because not used anywhere) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
<includeonly> | <includeonly> | ||
{{#switch:{{{condition|}}} | {{#switch:{{{condition|}}} | ||
|cancelled= | |cancelled= | ||
− | {{!}} | + | {{!}}colspan="{{{col|5}}}" style="background: #ffdddd;"{{!}}''Cancelled {{#if: {{{condition_reason|}}}|due to {{{condition_reason|}}}}}'' |
− | |||
− | |||
{{!}} {{{date|}}} | {{!}} {{{date|}}} | ||
{{!}} {{{teams|}}} | {{!}} {{{teams|}}} | ||
− | | | + | |notheld= |
− | {{!}} | + | {{!}}colspan="{{{col|5}}}" style="background: #ffdead;"{{!}}''Not held {{#if: {{{condition_reason|}}}|due to {{{condition_reason|}}}}}'' |
− | |||
− | |||
{{!}} {{{date|}}} | {{!}} {{{date|}}} | ||
{{!}} {{{teams|}}} | {{!}} {{{teams|}}} | ||
| | | | ||
− | {{!}} {{{first|}}} | + | {{!}} {{#if: {{{first|}}}|{{{first|}}}|{{{first_name|}}}{{#if: {{{first_note|}}}|<sup>{{{first_note}}}</sup>}} {{#if: {{{first_points|}}}|({{{first_points|}}})}}}} |
− | {{!}} {{{second|}}} | + | {{!}} {{#if: {{{second|}}}|{{{second|}}}|{{{second_name|}}}{{#if: {{{second_note|}}}|<sup>{{{second_note}}}</sup>}} {{#if: {{{second_points|}}}|({{{second_points|}}})}}}} |
− | {{!}} {{{third|}}} | + | {{!}} {{#if: {{{third|}}}|{{{third|}}}|{{{third_name|}}}{{#if: {{{third_note|}}}|<sup>{{{third_note}}}</sup>}} {{#if: {{{third_points|}}}|({{{third_points|}}})}}}} |
− | {{!}} {{{fourth|}}} | + | {{!}} {{#if: {{{fourth|}}}|{{{fourth|}}}|{{{fourth_name|}}}{{#if: {{{fourth_note|}}}|<sup>{{{fourth_note}}}</sup>}} {{#if: {{{fourth_points|}}}|({{{fourth_points|}}})}}}} |
− | {{!}} {{{fifth|}}} | + | {{!}} {{#if: {{{fifth|}}}|{{{fifth|}}}|{{{fifth_name|}}}{{#if: {{{fifth_note|}}}|<sup>{{{fifth_note}}}</sup>}} {{#if: {{{fifth_points|}}}|({{{fifth_points|}}})}}}} |
+ | {{#if: {{{sixth_name|}}}|{{!}} {{{sixth_name|}}}{{#if: {{{sixth_note|}}}|<sup>{{{sixth_note}}}</sup>}} {{#if: {{{sixth_points|}}}|({{{sixth_points|}}})}}}} | ||
{{!}} {{{date|}}} | {{!}} {{{date|}}} | ||
{{!}} {{{teams|}}} | {{!}} {{{teams|}}} | ||
Line 28: | Line 21: | ||
{{!}}- | {{!}}- | ||
</includeonly> | </includeonly> | ||
− | + | <noinclude> | |
+ | {{Irb row/doc}} | ||
+ | </noinclude> | ||
<noinclude> | <noinclude> | ||
[[Category: Templates]] | [[Category: Templates]] | ||
+ | [[Category: Results Templates]] | ||
[[Category: Organization Templates]] | [[Category: Organization Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:54, 16 February 2020
The Irb row template (abbreviated for Invitational results box row template) is a template used to construct rows in a Invitational results box
template. Without this template, the Invitational results box
template cannot be used, and a Invitational 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 schoolsecond_name
,second_note
, andsecond_points
- parameters similar to the first three above, but for the second-placing schoolthird_name
,third_note
, andthird_points
- parameters similar to the first three, but for the third-placing schoolfourth_name
,fourth_note
, andfourth_points
- parameters similar to the first three, but for the fourth-placing schoolfifth_name
,fifth_note
, andfifth_points
- parameters similar to the first three, but for the fifth-placing schoolsixth_name
,sixth_note
, andsixth_points
- parameters similar to the first three, but for the sixth-placing school (note that this parameter requires that thecol
parameter in the mainInvitational results box
template is set equaling 6, which it is by default not)
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 mainInvitational results box
template (default: 5)date
- the date of the tournamentteams
- the number of teams at the tournament
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 Invitational results box template documentation to see how this template is used.