Difference between revisions of "Template:Regional results box/doc"
Jump to navigation
Jump to search
Pepperonipi (talk | contribs) (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...") |
Pepperonipi (talk | contribs) (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_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 | |teams=60 | ||
|date=2/22/19 | |date=2/22/19 | ||
Line 30: | Line 37: | ||
</pre> | </pre> | ||
|{{Regional results box | |{{Regional results box | ||
− | |||
|2019={{Rrb row | |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 | |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 }} }} |
| ||||||||||||||||||||||||||
{{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 }} |
|