Difference between revisions of "Template:SOInfoBox"
((+) If statements) |
Jaspattack (talk | contribs) m |
||
Line 14: | Line 14: | ||
} | } | ||
}} | }} | ||
− | |||
{|align="right" class="infobox" | {|align="right" class="infobox" | ||
|- | |- |
Latest revision as of 15:51, 13 January 2021
SOInfoBox |
---|
The SOInfoBox template is a template used to generate an infobox for a state.
Parameters
State
- the statemap
- a map showing the state's locationMember since
- year since the state has been a part of Science OlympiadTotal teams
- the total number of teams in the stateB champs
- the most recent Division B championC champs
- the most recent Division C championDate
- the date on which the state competition was most recently heldStates location
- the location where the state competition was most recently heldwebsite
- the state's website
Usage
The template should be placed at the very top of an article, with no empty line breaks before or after the template
Examples
Code | Result | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{SOInfoBox |Member since=2006 }} |
| ||||||||||||||||||||
{{SOInfoBox |Member since=2006 |Total teams=100 |B champs=Ladue Middle School |C champs=Ladue Horton Watkins High School }} |
| ||||||||||||||||||||
{{SOInfoBox |State=New Jersey |Member since=2006 |Total teams=100 |B champs=Ladue Middle School |C champs=Ladue Horton Watkins High School |States location=Westminster College |Date=January 1, 2020 |website=http://www.scioly.org }} |
|
The above documentation is transcluded from Template:SOInfoBox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |