Template:StateInfoBox

From Wiki - Scioly.org
Jump to: navigation, search
StateInfoBox
Template documentation[view] [edit] [history] [purge]

The StateInfoBox template is a template used to generate an infobox for a state tournament.

For a template used to copy and paste the code for this template, see Template:Article template/StateInfoBox.

Parameters

Location

state - the state of the tournament
For states with one tournament host:
lat - the latitude of the host of the tournament
long - the longitude of the host of the tournament
For states with two tournament hosts:
latDivB - the latitude of the Division B host of the tournament
longDivB - the longitude of the Division B host of the tournament
latDivC - the latitude of the Division C host of the tournament
longDivC - the longitude of the Division C host of the tournament
map - a custom map showing the tournament location (note: please use state, lat, and long typically, and only use this parameter if needed)

General Information

logo - the file name of the logo of the tournament
Host - the host of the tournament
Total teams - the total number of teams at the tournament
ChampionB - the Division B champion
ChampionC - the Division C champion
Date - the dates on which the competition was held

Results

1stBName - the name of the Division B 1st place winner
2ndBName - the name of the Division B 2nd place winner
3rdBName - the name of the Division B 3rd place winner
1stBPoints - the points earned by the Division B 1st place winner
2ndBPoints - the points earned by the Division B 2nd place winner
3rdBPoints - the points earned by the Division B 3rd place winner
1stCName - the name of the Division C 1st place winner
2ndCName - the name of the Division C 2nd place winner
3rdCName - the name of the Division C 3rd place winner
1stCPoints - the points earned by the Division C 1st place winner
2ndCPoints - the points earned by the Division C 2nd place winner
3rdCPoints - the points earned by the Division C 3rd place winner
Website - the tournament website

Navigation

Prev - the previous state tournament's wiki
Next - the next state tournament's wiki
Year - the current state tournament's year

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
{{StateInfoBox
|Host=Cornell University
}}
StateInfoBox
General Information
Host Cornell University
{{StateInfoBox
|Host=Cornell University
|Total teams=120
|ChampionB=Ladue Middle School
|ChampionC=Ladue Horton Watkins High School
|Date=January 1-3, 2020
|Website=http://www.scioly.org
}}
StateInfoBox
General Information
Host Cornell University
Total teams 120
Division B Champion Ladue Middle School
Division C Champion Ladue Horton Watkins High School
Date January 1-3, 2020
Website http://www.scioly.org
{{StateInfoBox
|logo=Image:2019 Nationals logo.jpg
|Host=Cornell University
|1stBName=Kennedy Middle School
|1stBPoints=148
|2ndBName=Solon Middle School
|2ndBPoints=191
|3rdBName=Community Middle School
|3rdBPoints=250
|1stCName=Troy High School
|1stCPoints=231
|2ndCName=Solon High School
|2ndCPoints=276
|3rdCName=Harriton High School
|3rdCPoints=277
|Total teams=120
|ChampionB=Ladue Middle School
|ChampionC=Ladue Horton Watkins High School
|Date=January 1-3, 2020
|Website=http://www.scioly.org
|Prev=[[2019 New Jersey State Tournament|2019]]
|Next=[[2021 New Jersey State Tournament|2021]]
|Year=2020
}}
StateInfoBox
2019 Nationals logo.jpg
General Information
Host Cornell University
Total teams 120
Division B Champion Ladue Middle School
Division C Champion Ladue Horton Watkins High School
Date January 1-3, 2020
Results
Division B
1st Kennedy Middle School 148
2nd Solon Middle School 191
3rd Community Middle School 250
Division C
1st Troy High School 231
2nd Solon High School 276
3rd Harriton High School 277
Website http://www.scioly.org
2019 2020 2021