Difference between revisions of "Template:Strb row/doc"

From Wiki - Scioly.org
Jump to navigation Jump to search
m (Added categories)
m (Removing the TemplateDocStart template from documentation for formatting purposes.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateDocStart}}
+
 
 
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.
 
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.
  
Line 5: Line 5:
  
 
== Parameters ==
 
== Parameters ==
:<code><nowiki>div_b_champ</nowiki></code> The [[Division B]] champ for the specified year.
+
:<code><nowiki>div_b_champ</nowiki></code> The [[Division B]] champion for the specified year.
:<code><nowiki>div_b_champ_nats</nowiki></code> The [[National Tournament|Nationals]] placement for the Division B champ for the specified year.
+
:<code><nowiki>div_b_champ_nats</nowiki></code> The [[National Tournament|Nationals]] placement for the Division B champion for the specified year.
 
:<code><nowiki>div_b_runnerup</nowiki></code> The Division B runner-up for the specified year.
 
:<code><nowiki>div_b_runnerup</nowiki></code> The Division B runner-up for the specified year.
 
:<code><nowiki>div_b_runnerup_nats</nowiki></code> 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.)
 
:<code><nowiki>div_b_runnerup_nats</nowiki></code> 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.)
:<code><nowiki>div_c_champ</nowiki></code> The [[Division C]] champ for the specified year.
+
:<code><nowiki>div_b_third</nowiki></code> The Division B third place team for the specified year.
:<code><nowiki>div_c_champ_nats</nowiki></code> The Nationals place for the Division C champ for the specified year.
+
:<code><nowiki>div_c_champ</nowiki></code> The [[Division C]] champion for the specified year.
 +
:<code><nowiki>div_c_champ_nats</nowiki></code> The Nationals place for the Division C champion 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</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.)
 +
:<code><nowiki>div_c_third</nowiki></code> The Division C third place team for the specified year.
 +
 +
'''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 ==

Latest revision as of 00:40, 6 August 2020

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 champion for the specified year.
div_b_champ_nats The Nationals placement for the Division B champion 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_b_third The Division B third place team for the specified year.
div_c_champ The Division C champion for the specified year.
div_c_champ_nats The Nationals place for the Division C champion 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.)
div_c_third The Division C third place team for the specified year.

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.