Difference between revisions of "Template:InvitationalInfoBox"

From Wiki - Scioly.org
Jump to: navigation, search
m (Testing again?)
(Tag: Undo)
(fixed #if)
 
(12 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
| autoheaders = y
 
| autoheaders = y
 
| image = {{#if: {{{logo|}}}|[[{{{logo|}}}|150px]]}}
 
| image = {{#if: {{{logo|}}}|[[{{{logo|}}}|150px]]}}
| header1 = General Information
+
 
| label2 = Map
+
| header1 = Current Season
| data2 = {{{map|}}}
+
| data2 = {{#if: {{{current_season|}}}|[[File:Current tournament red.svg|31px]]  ''{{{current_season|}}}''}}
| label3 = Map
+
| header3 = General Information
| data3 = {{#if: {{{state|}}}|{{#if: {{{long|}}}|{{#if: {{{lat|}}}|
+
| label4 = Map
 +
| data4 = {{{map|}}}
 +
| label5 = Map
 +
| data5 = {{#if: {{{state|}}}|{{#if: {{{long|}}}|{{#if: {{{lat|}}}|
 
{{Location map | {{{state|}}}
 
{{Location map | {{{state|}}}
 
| max_width = 200
 
| max_width = 200
Line 18: Line 21:
 
}}
 
}}
 
}}
 
}}
| label4 = Map
+
| label6 = Map
| data4 = {{#if: {{{long1|}}}|
+
| data6 = {{#if: {{{long1|}}}|
 
{{Location map many | {{{state|}}}
 
{{Location map many | {{{state|}}}
 
| max_width=250
 
| max_width=250
Line 46: Line 49:
 
}}
 
}}
 
}}
 
}}
| label5 = Location
+
| label7 = Location
| data5 = {{{Location|}}}
+
| data7 = {{{Location|}}}
| label6 = [[2021]] Format
+
| label8 = [[2021]] Format
| data6 = {{{2021format|}}}
+
| data8 = {{{2021format|}}}
| label7 = Year started
+
| label9 = Year started
| data7 = {{{Year started|}}}
+
| data9 = {{{Year started|}}}
| label8 = Total teams
+
| label10 = Total teams
| data8 = {{{Total teams|}}}
+
| data10 = {{{Total teams|}}}
| label9 = B teams
+
| label11 = B teams
| data9 = {{{teams_b|}}}
+
| data11 = {{{teams_b|}}}
| label10 = C teams
+
| label12 = C teams
| data10 = {{{teams_c|}}}
+
| data12 = {{{teams_c|}}}
| label11 = Division
+
| label13 = Division
| data11 = {{{Division|}}}
+
| data13 = {{{Division|}}}
| label12 = [[Division B]] Champion
+
| label14 = [[Division B]] Champion
| data12 = {{{ChampionB|}}}
+
| data14 = {{{ChampionB|}}}
| label13 = [[Division C]] Champion
+
| label15 = [[Division C]] Champion
| data13 = {{{ChampionC|}}}
+
| data15 = {{{ChampionC|}}}
| label14 = Champion
+
| label16 = Champion
| data14 = {{{Champion|}}}
+
| data16 = {{{Champion|}}}
| label15 = Date
+
| label17 = Date
| data15 = {{{Date|}}}
+
| data17 = {{{Date|}}}
| header16 = Social Media
+
| header18 = Social Media
| label17 = Website
+
| label19 = Website
| data17 = {{{Website|}}}
+
| data19 = {{{Website|}}}
| label18 = [[Scilympiad]]
+
| label20 = [[Scilympiad]]
| data18 = {{{scilympiad|}}}
+
| data20 = {{{scilympiad|}}}
| label19 = Facebook
+
| label21 = Facebook
| data19 = {{{facebook|}}}
+
| data21 = {{{facebook|}}}
| label20 = Twitter
+
| label22 = Twitter
| data20 = {{{twitter|}}}
+
| data22 = {{{twitter|}}}
| label21 = Instagram
+
| label23 = Instagram
| data21 = {{{instagram|}}}
+
| data23 = {{{instagram|}}}
| label22 = YouTube
+
| label24 = YouTube
| data22 = {{{youtube|}}}
+
| data24 = {{{youtube|}}}
| header23 = Division B Results
+
| label25=Email
| data24 = {{#if: {{{1stBName|}}}|{{{!}}class="infobox-scoreboard" style="margin: 0; padding: 0; width:100%; text-align: left;"
+
| data25={{{email|}}}
 +
| header26 = Division B Results
 +
| data27 = {{#if: {{{1stBName|}}}|{{{!}}class="infobox-scoreboard" style="margin: 0; padding: 0; width:100%; text-align: left;"
 
{{!}}-
 
{{!}}-
 
{{!}}- style="background-color: gold;"
 
{{!}}- style="background-color: gold;"
Line 97: Line 102:
 
{{!}}style="width: 10%; text-align: center;"{{!}}{{{3rdBPoints|}}}
 
{{!}}style="width: 10%; text-align: center;"{{!}}{{{3rdBPoints|}}}
 
{{!}}-
 
{{!}}-
{{!}}}}
+
{{!}}}
| header25 = Division C Results
+
}}
| data26 = {{#if: {{{1stCName|}}}|{{{!}}class="infobox-scoreboard" style="margin: 0; padding: 0; width:100%; text-align: left;"
+
| header28 = Division C Results
 +
| data29 = {{#if: {{{1stCName|}}}|{{{!}}class="infobox-scoreboard" style="margin: 0; padding: 0; width:100%; text-align: left;"
 
{{!}}-
 
{{!}}-
 
{{!}}- style="background-color: gold;"
 
{{!}}- style="background-color: gold;"
Line 114: Line 120:
 
{{!}}style="width: 10%; text-align: center;"{{!}}{{{3rdCPoints|}}}
 
{{!}}style="width: 10%; text-align: center;"{{!}}{{{3rdCPoints|}}}
 
{{!}}-
 
{{!}}-
{{!}}}}
+
{{!}}}
 +
}}
 
}}
 
}}
 
<noinclude>
 
<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 04:56, 9 January 2021

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

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

Parameters

Location

state - the state of the tournament
lat(n) - the latitude of the host of the tournament. Note: n is only used for multiple hosts
long(n) - the longitude of the host of the tournament. Note: n is only used for multiple hosts
Host - the host of the tournament
label{n} - the hosts 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

current_season - the wikipage of the most recent running of the invitational
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

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

Social Medias

Website - website for the invitational
scilympiad - the scilympiad site
facebook - Facebook username for the invitational
twitter - Twitter username for the invitational
instagram - Instagram username for the invitational
youtube - Youtube channel for the invitational
email - the tournament's email

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
|current_season=[[2021 InvitationalInfoBox]]
|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
Current Season
Current tournament red.svg 2021 InvitationalInfoBox
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