Difference between revisions of "Template:Infobox invitational tournament/doc"

From Wiki - Scioly.org
Jump to navigation Jump to search
(Created page with "{{TemplateDocStart}} The '''RegionalInfoBox''' template is a template used to generate an infobox for a regional tournament. == Parameters == :<code><nowiki>map</nowiki></cod...")
 
(Added param updated)
(23 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{TemplateDocStart}}
+
The '''InvitationalInfoBox''' template is a template used to generate an infobox for a regional tournament.
The '''RegionalInfoBox''' template is a template used to generate an infobox for a regional tournament.
 
  
 
== Parameters ==
 
== Parameters ==
:<code><nowiki>map</nowiki></code> - a map showing the tournament's location
+
'''Location'''
:<code><nowiki>Member since</nowiki></code> - year since the tournament has been a part of Science Olympiad
+
:<code><nowiki>state</nowiki></code> - the state of the tournament
 +
:<code><nowiki>lat</nowiki></code> - the latitude of the host of the tournament
 +
:<code><nowiki>long</nowiki></code> - the longitude of the host of the tournament
 +
:<code><nowiki>map</nowiki></code> - a map showing the tournament's location '''(note: please use <code><nowiki>state</nowiki></code>, <code><nowiki>lat</nowiki></code>, and <code><nowiki>long</nowiki></code> typically, and only use this parameter if needed)'''
 +
 
 +
'''General Information'''
 +
:<code><nowiki>logo</nowiki></code> - the file name of the logo of the tournament
 +
:<code><nowiki>Year started</nowiki></code> - year since the tournament has been a part of Science Olympiad
 
:<code><nowiki>Division</nowiki></code> - the division(s) served by the tournament
 
:<code><nowiki>Division</nowiki></code> - the division(s) served by the tournament
:<code><nowiki>ChampionsB</nowiki></code> - the most recent Division B champion
+
:<code><nowiki>teams_b</nowiki></code> - the number of registered B teams at the invitational (recommended template for this is [[Template:Registration bar]])
:<code><nowiki>ChampionsC</nowiki></code> - the most recent Division C champion
+
:<code><nowiki>teams_c</nowiki></code> - the number of registered C teams at the invitational (recommended template for this is [[Template:Registration bar]])
 +
:<code><nowiki>Total teams</nowiki></code> - the total number of teams at the tournament
 +
:<code><nowiki>ChampionB</nowiki></code> - the most recent Division B champion
 +
:<code><nowiki>ChampionC</nowiki></code> - the most recent Division C champion
 
:<code><nowiki>Champion</nowiki></code> - the most recent champion (if only one division is present)
 
:<code><nowiki>Champion</nowiki></code> - the most recent champion (if only one division is present)
 
:<code><nowiki>Date</nowiki></code> - the date on which the regional competition was most recently held
 
:<code><nowiki>Date</nowiki></code> - the date on which the regional competition was most recently held
 
:<code><nowiki>Location</nowiki></code> - the location where the tournament was most recently held
 
:<code><nowiki>Location</nowiki></code> - the location where the tournament was most recently held
:<code><nowiki>website</nowiki></code> - the tournament website
+
:<code><nowiki>2021format</nowiki></code> - the format of the tournament for the 2021 season, such as [[Mini SO]], [[Satellite SO]], or [[Gold SO]]
 +
:<code><nowiki>Website</nowiki></code> - the tournament website
 +
:<code><nowiki>scilympiad</nowiki></code> - the scilympiad site
 +
 
 +
'''Results'''
 +
:<code><nowiki>1stBName</nowiki></code> - the name of the Division B 1st place winner
 +
:<code><nowiki>2ndBName</nowiki></code> - the name of the Division B 2nd place winner
 +
:<code><nowiki>3rdBName</nowiki></code> - the name of the Division B 3rd place winner
 +
:<code><nowiki>1stBPoints</nowiki></code> - the points earned by the Division B 1st place winner
 +
:<code><nowiki>2ndBPoints</nowiki></code> - the points earned by the Division B 2nd place winner
 +
:<code><nowiki>3rdBPoints</nowiki></code> - the points earned by the Division B 3rd place winner
 +
:<code><nowiki>1stCName</nowiki></code> - the name of the Division C 1st place winner
 +
:<code><nowiki>2ndCName</nowiki></code> - the name of the Division C 2nd place winner
 +
:<code><nowiki>3rdCName</nowiki></code> - the name of the Division C 3rd place winner
 +
:<code><nowiki>1stCPoints</nowiki></code> - the points earned by the Division C 1st place winner
 +
:<code><nowiki>2ndCPoints</nowiki></code> - the points earned by the Division C 2nd place winner
 +
:<code><nowiki>3rdCPoints</nowiki></code> - the points earned by the Division C 3rd place winner
  
 
== Usage ==
 
== Usage ==
Line 23: Line 48:
 
|<pre>
 
|<pre>
 
{{InvitationalInfoBox
 
{{InvitationalInfoBox
|Member since=2006
+
|Year started=2006
 +
}}
 +
</pre>
 +
|
 +
{{InvitationalInfoBox
 +
|Year started=2006
 +
}}
 +
|-
 +
|<pre>
 +
{{InvitationalInfoBox
 +
|Year started=2006
 +
|Division=B/C
 +
|ChampionB=Ladue Middle School
 +
|ChampionC=Ladue Horton Watkins High School
 
}}
 
}}
 
</pre>
 
</pre>
 
|
 
|
 
{{InvitationalInfoBox
 
{{InvitationalInfoBox
|Member since=2006
+
|Year started=2006
 +
|Division=B/C
 +
|ChampionB=Ladue Middle School
 +
|ChampionC=Ladue Horton Watkins High School
 
}}
 
}}
 
|-
 
|-
 
|<pre>
 
|<pre>
 
{{InvitationalInfoBox
 
{{InvitationalInfoBox
|Member since=2006
+
|logo=Image:Puso.png
|Division=Both
+
|state=New Jersey
|ChampionsB=Ladue Middle School
+
|lat=40.34873
|ChampionsC=Ladue Horton Watkins High School
+
|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/
 
}}
 
}}
 
</pre>
 
</pre>
 
|
 
|
 
{{InvitationalInfoBox
 
{{InvitationalInfoBox
|Member since=2006
+
|logo=Image:Puso.png
|Division=Both
+
|state=New Jersey
|ChampionsB=Ladue Middle School
+
|lat=40.34873
|ChampionsC=Ladue Horton Watkins High School
+
|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/
 
}}
 
}}
 
|-
 
|-
 
|<pre>
 
|<pre>
 
{{InvitationalInfoBox
 
{{InvitationalInfoBox
|Member since=2006
+
|logo=Image:Puso.png
|Division=Both
+
|state=New Jersey
|ChampionsB=Ladue Middle School
+
|lat1=40.34873
|ChampionsC=Ladue Horton Watkins High School
+
|long1=-74.65931
|Location=Westminster College
+
|label1=Princeton (Nov)
|Date=January 1, 2020
+
|lat2=40.2206
|website=http://www.scioly.org
+
|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/
 
}}
 
}}
 
</pre>
 
</pre>
 
|
 
|
 
{{InvitationalInfoBox
 
{{InvitationalInfoBox
|Member since=2006
+
|logo=Image:Puso.png
|Division=Both
+
|state=New Jersey
|ChampionsB=Ladue Middle School
+
|lat1=40.34873
|ChampionsC=Ladue Horton Watkins High School
+
|long1=-74.65931
|Location=Westminster College
+
|label1=Princeton (Nov)
|Date=January 1, 2020
+
|lat2=40.2206
|website=http://www.scioly.org
+
|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/
 
}}
 
}}
 
|-
 
|-
 
|}
 
|}
 +
<includeonly>
 +
[[Category:Templates]]
 +
[[Category:Infobox Templates]]
 +
</includeonly>
 +
<noinclude>
 +
[[Category:Documentation]]
 +
</noinclude>

Revision as of 22:39, 5 September 2020

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
}}

Template:InvitationalInfoBox

{{InvitationalInfoBox
|Year started=2006
|Division=B/C
|ChampionB=Ladue Middle School
|ChampionC=Ladue Horton Watkins High School
}}

Template:InvitationalInfoBox

{{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/
}}

Template:InvitationalInfoBox

{{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/
}}

Template:InvitationalInfoBox