Difference between revisions of "Template:InvitationalInfoBox"

From Wiki - Scioly.org
Jump to: navigation, search
(Updating LM)
(Edited max_width for better formatting)
(10 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
{{!}}'''Map'''
 
{{!}}'''Map'''
 
{{!}}{{Location map | {{{state|}}}
 
{{!}}{{Location map | {{{state|}}}
| max_width = 250
+
| max_width = 200
 
| float = none
 
| float = none
 
| caption =  
 
| caption =  
Line 27: Line 27:
 
|{{#if: {{{long1|}}}|
 
|{{#if: {{{long1|}}}|
 
{{!}}'''Map'''
 
{{!}}'''Map'''
{{!}}{{Location map
+
{{!}}{{Location map many | {{{state|}}}
| mapname = File:{{{state|}}}.svg
+
| max_width=250
| width=150
+
| float = none
| p1lat={{{lat1|}}}
+
| caption =
| p1long={{{long1|}}}
+
| label = {{{label1|}}}
| p1icon=File:Red pog.svg
+
  | coordinates = {{coord|{{{lat1|}}}|{{{long1|}}}}}
| p1label={{{label1|}}}
+
| label2 = {{{label2|}}}
| p2lat={{{lat2|}}}
+
  | coordinates2 = {{coord|{{{lat2|}}}|{{{long2|}}}}}
| p2long={{{long2|}}}
+
| label3 = {{{label3|}}}
| p2icon=File:Red pog.svg
+
  | coordinates3 = {{#if: {{{lat3|}}}|{{coord|{{{lat3|}}}|{{{long3|}}}}}}}
| p2label={{{label2|}}}
+
| label4 = {{{label4|}}}
| p3lat={{{lat3|}}}
+
  | coordinates4 = {{#if: {{{lat4|}}}|{{coord|{{{lat4|}}}|{{{long4|}}}}}}}
| p3long={{{long3|}}}
+
| label5 = {{{label5|}}}
| p3icon=File:Red pog.svg
+
  | coordinates5 = {{#if: {{{lat5|}}}|{{coord|{{{lat5|}}}|{{{long5|}}}}}}}
| p3label={{{label3|}}}
+
| label6 = {{{label6|}}}
| p4lat={{{lat4|}}}
+
  | coordinates6 = {{#if: {{{lat6|}}}|{{coord|{{{lat6|}}}|{{{long6|}}}}}}}
| p4long={{{long4|}}}
+
| label7 = {{{label7|}}}
| p4icon=File:Red pog.svg
+
  | coordinates7 = {{#if: {{{lat7|}}}|{{coord|{{{lat7|}}}|{{{long7|}}}}}}}
| p4label={{{label4|}}}
+
| label8 = {{{label8|}}}
| p5lat={{{lat5|}}}
+
  | coordinates8 = {{#if: {{{lat8|}}}|{{coord|{{{lat8|}}}|{{{long8|}}}}}}}
| p5long={{{long5|}}}
+
| label9 = {{{label9|}}}
| p5icon=File:Red pog.svg
+
  | coordinates9 = {{#if: {{{lat9|}}}|{{coord|{{{lat9|}}}|{{{long9|}}}}}}}
| p5label={{{label5|}}}
+
| label10 = {{{label10|}}}
| p6lat={{{lat6|}}}
+
  | coordinates10 = {{#if: {{{lat10|}}}|{{coord|{{{lat10|}}}|{{{long10|}}}}}}}
| p6long={{{long6|}}}
 
| p6icon=File:Red pog.svg
 
| p6label={{{label6|}}}
 
| p7lat={{{lat7|}}}
 
| p7long={{{long7|}}}
 
| p7icon=File:Red pog.svg
 
| p7label={{{label7|}}}
 
| p8lat={{{lat8|}}}
 
| p8long={{{long8|}}}
 
| p8icon=File:Red pog.svg
 
| p8label={{{label8|}}}
 
| p9lat={{{lat9|}}}
 
| p9long={{{long9|}}}
 
| p9icon=File:Red pog.svg
 
| p9label={{{label9|}}}
 
| p10lat={{{lat10|}}}
 
| p10long={{{long10|}}}
 
| p10icon=File:Red pog.svg
 
| p10label={{{label10|}}}
 
 
}}
 
}}
 
{{!}}-}}
 
{{!}}-}}
Line 78: Line 59:
 
{{!}}'''Location'''
 
{{!}}'''Location'''
 
{{!}}{{{Location|}}}
 
{{!}}{{{Location|}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{2021format|}}}|
 +
{{!}}'''[[2021]] Format'''
 +
{{!}}{{{2021format|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 88: Line 74:
 
{{!}}'''Total teams'''
 
{{!}}'''Total teams'''
 
{{!}}{{{Total teams|}}}
 
{{!}}{{{Total teams|}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{teams_b|}}}|
 +
{{!}}'''B teams'''
 +
{{!}}{{{teams_b|}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{teams_c|}}}|
 +
{{!}}'''C teams'''
 +
{{!}}{{{teams_c|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 160: Line 156:
 
{{!}}'''Website'''
 
{{!}}'''Website'''
 
{{!}}{{{Website|}}}
 
{{!}}{{{Website|}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{scilympiad|}}}|
 +
{{!}}'''Scilympiad'''
 +
{{!}}{{{scilympiad|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}

Revision as of 22:35, 5 September 2020

InvitationalInfoBox
Template documentation[view] [edit] [history] [purge]

The InvitationalInfoBox template is a template used to generate an infobox for a regional tournament.

Parameters

Location

state - the state of the tournament
lat - the latitude of the host of the tournament
long - the longitude of the host of the tournament
map - a map showing the tournament's 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
Year started - year since the tournament has been a part of Science Olympiad
Division - the division(s) served by the tournament
teams_b - the number of registered B teams at the invitational (recommended template for this is Template:Registration bar)
teams_c - the number of registered C teams at the invitational (recommended template for this is Template:Registration bar)
Total teams - the total number of teams at the tournament
ChampionB - the most recent Division B champion
ChampionC - the most recent Division C champion
Champion - the most recent champion (if only one division is present)
Date - the date on which the regional competition was most recently held
Location - the location where the tournament was most recently held
2021format - the format of the tournament for the 2021 season, such as Mini SO, Satellite SO, or Gold SO
Website - the tournament website
scilympiad - the scilympiad site

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

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
{{InvitationalInfoBox
|Year started=2006
}}
InvitationalInfoBox
General Information
Year started2006
{{InvitationalInfoBox
|Year started=2006
|Division=B/C
|ChampionB=Ladue Middle School
|ChampionC=Ladue Horton Watkins High School
}}
InvitationalInfoBox
General Information
Year started2006
DivisionB/C
Division B ChampionLadue Middle School
Division C ChampionLadue Horton Watkins High School
{{InvitationalInfoBox
|logo=Image:Puso.png
|state=New Jersey
|lat=40.34873
|long=-74.65931
|Location=Princeton University
|2021format = [[Mini SO]]
|Year started=2017
|Total teams=56
|Division=C
|Champion=West Windsor-Plainsboro High School North
|Date=February 8th, 2020
|1stBName=West Windsor-Plainsboro High School North
|1stBPoints=114
|2ndBName=Boca Raton Community High School
|2ndBPoints=137
|3rdBName=Bayard Rustin High School
|3rdBPoints=246
|1stCName=West Windsor-Plainsboro High School North
|1stCPoints=114
|2ndCName=Boca Raton Community High School
|2ndCPoints=137
|3rdCName=Bayard Rustin High School
|3rdCPoints=246
|Website=https://scioly.princeton.edu/
}}
InvitationalInfoBox
Puso.png
General Information
Map
InvitationalInfoBox is located in New Jersey
InvitationalInfoBox
LocationPrinceton University
2021 FormatMini SO
Year started2017
Total teams56
DivisionC
ChampionWest Windsor-Plainsboro High School North
DateFebruary 8th, 2020
Social Media
Websitehttps://scioly.princeton.edu/
Division B Results
1st West Windsor-Plainsboro High School North 114
2nd Boca Raton Community High School 137
3rd Bayard Rustin High School 246
Division C Results
1st West Windsor-Plainsboro High School North 114
2nd Boca Raton Community High School 137
3rd Bayard Rustin High School 246
{{InvitationalInfoBox
|logo=Image:Puso.png
|state=New Jersey
|lat1=40.34873
|long1=-74.65931
|label1=Princeton (Nov)
|lat2=40.2206
|long2=-74.7597
|label2=Trenton HS (Jan)
|Location=Nov: Princeton University {{break}} Jan:Trenton High School
|2021format = [[Mini SO]]
|Year started=2017
|Total teams=56
|Division=C
|Champion=West Windsor-Plainsboro High School North
|Date=February 8th, 2020
|1stBName=West Windsor-Plainsboro High School North
|1stBPoints=114
|2ndBName=Boca Raton Community High School
|2ndBPoints=137
|3rdBName=Bayard Rustin High School
|3rdBPoints=246
|1stCName=West Windsor-Plainsboro High School North
|1stCPoints=114
|2ndCName=Boca Raton Community High School
|2ndCPoints=137
|3rdCName=Bayard Rustin High School
|3rdCPoints=246
|Website=https://scioly.princeton.edu/
}}
InvitationalInfoBox
Puso.png
General Information
Map
InvitationalInfoBox is located in New Jersey
Princeton (Nov)
Princeton (Nov)
Trenton HS (Jan)
Trenton HS (Jan)
LocationNov: Princeton University
Jan: Trenton High School
2021 FormatMini SO
Year started2017
Total teams56
DivisionC
ChampionWest Windsor-Plainsboro High School North
DateFebruary 8th, 2020
Social Media
Websitehttps://scioly.princeton.edu/
Division B Results
1st West Windsor-Plainsboro High School North 114
2nd Boca Raton Community High School 137
3rd Bayard Rustin High School 246
Division C Results
1st West Windsor-Plainsboro High School North 114
2nd Boca Raton Community High School 137
3rd Bayard Rustin High School 246