Jump to content

Template:Strb row/doc: Difference between revisions

From Wiki - Scioly.org
m Added categories
Added cancelled params
Line 13: Line 13:
:<code><nowiki>div_c_runnerup</nowiki></code> The Division C runner-up for the specified year.
:<code><nowiki>div_c_runnerup</nowiki></code> The Division C runner-up for the specified year.
:<code><nowiki>div_c_runnerup_nats</nowiki></code> The Nationals placement for the Division C runner-up for the specified year. (If there is only one bid for the state, this can be "N/A" or something similar.)
:<code><nowiki>div_c_runnerup_nats</nowiki></code> The Nationals placement for the Division C runner-up for the specified year. (If there is only one bid for the state, this can be "N/A" or something similar.)
'''Canceled Tournaments'''
If one or more divisions of a state tournament is cancelled, use the following parameters.
:<code>condition</code> - can be set to <code>cancelled</code>, <code>cancelled-div-b</code>, or <code>cancelled-div-c</code>.
:<code>condition_reason</code> - the reason for the tournament or division being cancelled


== Examples ==
== Examples ==

Revision as of 16:35, 5 July 2020

Template:Strb row/doc - Documentation

The Strb row template (derived for State tournament results box row template) is the companion template to Template:State tournament results box used to generate a results box for a state-level tournament.

One instance of this template can be used for each row in the results box to generate the row for a specific year.

Parameters

div_b_champ The Division B champ for the specified year.
div_b_champ_nats The Nationals placement for the Division B champ for the specified year.
div_b_runnerup The Division B runner-up for the specified year.
div_b_runnerup_nats The Nationals placement for the Division B runner-up for the specified year. (If there is only one bid for the state, this can be "N/A" or something similar.)
div_c_champ The Division C champ for the specified year.
div_c_champ_nats The Nationals place for the Division C champ for the specified year.
div_c_runnerup The Division C runner-up for the specified year.
div_c_runnerup_nats The Nationals placement for the Division C runner-up for the specified year. (If there is only one bid for the state, this can be "N/A" or something similar.)

Canceled Tournaments If one or more divisions of a state tournament is cancelled, use the following parameters.

condition - can be set to cancelled, cancelled-div-b, or cancelled-div-c.
condition_reason - the reason for the tournament or division being cancelled

Examples

Examples using this template can be found on the state tournament results box template page.