Difference between revisions of "Template:Regional results box/doc"

From Wiki - Scioly.org
Jump to navigation Jump to search
(Created page with "{{TemplateDocStart}} This template allows the generation of a results box for an regional. It functions similar to Template:Invitational results box. It relies on Templ...")
 
(Added examples of using notes)
Line 7: Line 7:
 
:<code><nowiki>div</nowiki></code> - the division that the results box is representing (appears in the box's title)
 
:<code><nowiki>div</nowiki></code> - the division that the results box is representing (appears in the box's title)
 
:<code><nowiki><year></nowiki></code> (ex: <code><nowiki>2019</nowiki></code>, <code><nowiki>2018</nowiki></code>, <code><nowiki>2017</nowiki></code>, ...) - the year of each row (this should equal a [[Template:Rrb row]])
 
:<code><nowiki><year></nowiki></code> (ex: <code><nowiki>2019</nowiki></code>, <code><nowiki>2018</nowiki></code>, <code><nowiki>2017</nowiki></code>, ...) - the year of each row (this should equal a [[Template:Rrb row]])
 +
:<code><nowiki>note<num></nowiki></code> - (ex: <code><nowiki>note1</nowiki></code>, <code><nowiki>note2</nowiki></code>, <code><nowiki>note3</nowiki></code>, ...) - the note corresponding to a note found somewhere in the table, shown as a superscript caption at the bottom of the table
  
 
== Examples ==
 
== Examples ==
Line 17: Line 18:
 
{{Regional results box
 
{{Regional results box
 
|2019={{Rrb row
 
|2019={{Rrb row
|first=[[American Heritage School]] (65)
+
|first_name=[[American Heritage School]]
|first_states=4th (191)
+
|first_points=65
|second=[[Archimedean Middle Conservatory]] (90)
+
|first_states_place=4th
|second_states=5th (221)
+
|first_states_points=191
|third=[[St. Bonaventure Catholic School]] (136)
+
|second_name=[[Archimedean Middle Conservatory]]
|third_states=14th (321)
+
|second_points=90
 +
|second_states_place=5th
 +
|second_states_points=221
 +
|third_name=[[St. Bonaventure Catholic School]]
 +
|third_points=136
 +
|third_states_place=14th
 +
|third_states_points=321
 
|teams=60
 
|teams=60
 
|date=2/22/19
 
|date=2/22/19
Line 30: Line 37:
 
</pre>
 
</pre>
 
|{{Regional results box
 
|{{Regional results box
|div=B
 
 
|2019={{Rrb row
 
|2019={{Rrb row
|first=[[American Heritage School]] (65)
+
|first_name=[[American Heritage School]]
|first_states=4th (191)
+
|first_points=65
|second=[[Archimedean Middle Conservatory]] (90)
+
|first_states_place=4th
|second_states=5th (221)
+
|first_states_points=191
|third=[[St. Bonaventure Catholic School]] (136)
+
|second_name=[[Archimedean Middle Conservatory]]
|third_states=14th (321)
+
|second_points=90
 +
|second_states_place=5th
 +
|second_states_points=221
 +
|third_name=[[St. Bonaventure Catholic School]]
 +
|third_points=136
 +
|third_states_place=14th
 +
|third_states_points=321
 
|teams=60
 
|teams=60
 
|date=2/22/19
 
|date=2/22/19
Line 44: Line 56:
 
}}
 
}}
 
|-
 
|-
 +
|
 +
<pre>
 +
{{Regional results box
 +
|2019={{Rrb row
 +
|first_name=[[American Heritage School]]
 +
|first_points=65
 +
|first_states_place=4th
 +
|first_states_points=191
 +
|second_name=[[Archimedean Middle Conservatory]]
 +
|second_points=90
 +
|second_states_place=5th
 +
|second_states_points=221
 +
|second_note=1
 +
|third_name=[[St. Bonaventure Catholic School]]
 +
|third_points=136
 +
|third_note=2
 +
|third_states_place=14th
 +
|third_states_points=321
 +
|teams=60
 +
|date=2/22/19
 +
|bids=9
 +
}}
 +
|note1=[[American Heritage School]]'s second team (Team X) came second with 66 points
 +
|note2=[[Archimedean Middle Conservatory]]'s second team (Team Y) came fourth with 91 points
 +
}}
 +
</pre>
 +
|{{Regional results box
 +
|2019={{Rrb row
 +
|first_name=[[American Heritage School]]
 +
|first_points=65
 +
|first_states_place=4th
 +
|first_states_points=191
 +
|second_name=[[Archimedean Middle Conservatory]]
 +
|second_points=90
 +
|second_states_place=5th
 +
|second_states_points=221
 +
|second_note=1
 +
|third_name=[[St. Bonaventure Catholic School]]
 +
|third_points=136
 +
|third_note=2
 +
|third_states_place=14th
 +
|third_states_points=321
 +
|teams=60
 +
|date=2/22/19
 +
|bids=9
 +
}}
 +
|note1=[[American Heritage School]]'s second team (Team X) came second with 66 points
 +
|note2=[[Archimedean Middle Conservatory]]'s second team (Team Y) came fourth with 91 points
 +
}}
 
|}
 
|}

Revision as of 06:01, 13 February 2020

Template:Regional results box/doc - Documentation

This template allows the generation of a results box for an regional. It functions similar to Template:Invitational results box.

It relies on Template:Rrb row to generate the rows.

Parameters

div - the division that the results box is representing (appears in the box's title)
<year> (ex: 2019, 2018, 2017, ...) - the year of each row (this should equal a Template:Rrb row)
note<num> - (ex: note1, note2, note3, ...) - the note corresponding to a note found somewhere in the table, shown as a superscript caption at the bottom of the table

Examples

Code Result
{{Regional results box
|2019={{Rrb row
|first_name=[[American Heritage School]]
|first_points=65
|first_states_place=4th
|first_states_points=191
|second_name=[[Archimedean Middle Conservatory]]
|second_points=90
|second_states_place=5th
|second_states_points=221
|third_name=[[St. Bonaventure Catholic School]]
|third_points=136
|third_states_place=14th
|third_states_points=321
|teams=60
|date=2/22/19
|bids=9
}}
}}
Results
Season Champion Runner-Up Third Place Date Teams State bids
Team States Place Team States Place Team States Place
2019 American Heritage School (65) 4th (191) Archimedean Middle Conservatory (90) 5th (221) St. Bonaventure Catholic School (136) 14th (321) 2/22/19 60 9


{{Regional results box
|2019={{Rrb row
|first_name=[[American Heritage School]]
|first_points=65
|first_states_place=4th
|first_states_points=191
|second_name=[[Archimedean Middle Conservatory]]
|second_points=90
|second_states_place=5th
|second_states_points=221
|second_note=1
|third_name=[[St. Bonaventure Catholic School]]
|third_points=136
|third_note=2
|third_states_place=14th
|third_states_points=321
|teams=60
|date=2/22/19
|bids=9
}}
|note1=[[American Heritage School]]'s second team (Team X) came second with 66 points
|note2=[[Archimedean Middle Conservatory]]'s second team (Team Y) came fourth with 91 points
}}
Results
Season Champion Runner-Up Third Place Date Teams State bids
Team States Place Team States Place Team States Place
2019 American Heritage School (65) 4th (191) Archimedean Middle Conservatory1 (90) 5th (221) St. Bonaventure Catholic School2 (136) 14th (321) 2/22/19 60 9
1 American Heritage School's second team (Team X) came second with 66 points
2 Archimedean Middle Conservatory's second team (Team Y) came fourth with 91 points