Difference between revisions of "Template:InvitationalInfoBox"
Pepperonipi (talk | contribs) (Removed Div B/Div C results error) |
Pepperonipi (talk | contribs) (fixed #if) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
| autoheaders = y | | autoheaders = y | ||
| image = {{#if: {{{logo|}}}|[[{{{logo|}}}|150px]]}} | | image = {{#if: {{{logo|}}}|[[{{{logo|}}}|150px]]}} | ||
− | | header1 = General Information | + | |
− | | | + | | header1 = Current Season |
− | | | + | | data2 = {{#if: {{{current_season|}}}|[[File:Current tournament red.svg|31px]] ''{{{current_season|}}}''}} |
− | | | + | | header3 = General Information |
− | | | + | | 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: | ||
}} | }} | ||
}} | }} | ||
− | | | + | | label6 = Map |
− | | | + | | data6 = {{#if: {{{long1|}}}| |
{{Location map many | {{{state|}}} | {{Location map many | {{{state|}}} | ||
| max_width=250 | | max_width=250 | ||
Line 46: | Line 49: | ||
}} | }} | ||
}} | }} | ||
− | | | + | | label7 = Location |
− | | | + | | data7 = {{{Location|}}} |
− | | | + | | label8 = [[2021]] Format |
− | | | + | | data8 = {{{2021format|}}} |
− | | | + | | label9 = Year started |
− | | | + | | data9 = {{{Year started|}}} |
− | | | + | | label10 = Total teams |
− | | | + | | data10 = {{{Total teams|}}} |
− | | | + | | label11 = B teams |
− | | | + | | data11 = {{{teams_b|}}} |
− | | | + | | label12 = C teams |
− | | | + | | data12 = {{{teams_c|}}} |
− | | | + | | label13 = Division |
− | | | + | | data13 = {{{Division|}}} |
− | | | + | | label14 = [[Division B]] Champion |
− | | | + | | data14 = {{{ChampionB|}}} |
− | | | + | | label15 = [[Division C]] Champion |
− | | | + | | data15 = {{{ChampionC|}}} |
− | | | + | | label16 = Champion |
− | | | + | | data16 = {{{Champion|}}} |
− | | | + | | label17 = Date |
− | | | + | | data17 = {{{Date|}}} |
− | | | + | | header18 = Social Media |
− | | | + | | label19 = Website |
− | | | + | | data19 = {{{Website|}}} |
− | | | + | | label20 = [[Scilympiad]] |
− | | | + | | data20 = {{{scilympiad|}}} |
− | | | + | | label21 = Facebook |
− | | | + | | data21 = {{{facebook|}}} |
− | | | + | | label22 = Twitter |
− | | | + | | data22 = {{{twitter|}}} |
− | | | + | | label23 = Instagram |
− | | | + | | data23 = {{{instagram|}}} |
− | | | + | | label24 = YouTube |
− | | | + | | data24 = {{{youtube|}}} |
− | | | + | | label25=Email |
− | | | + | | 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 99: | Line 104: | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
− | | | + | | 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;" |
Latest revision as of 04:56, 9 January 2021
InvitationalInfoBox |
---|
The InvitationalInfoBox template is a template used to generate an infobox for an invitational tournament.
Parameters
Location
state
- the state of the tournamentlat(n)
- the latitude of the host of the tournament. Note: n is only used for multiple hostslong(n)
- the longitude of the host of the tournament. Note: n is only used for multiple hostsHost
- the host of the tournamentlabel{n}
- the hosts of the tournamentmap
- a map showing the tournament's location (note: please usestate
,lat
, andlong
typically, and only use this parameter if needed)
General Information
current_season
- the wikipage of the most recent running of the invitationallogo
- the file name of the logo of the tournamentYear started
- year since the tournament has been a part of Science OlympiadDivision
- the division(s) served by the tournamentteams_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 tournamentChampionB
- the most recent Division B championChampionC
- the most recent Division C championChampion
- the most recent champion (if only one division is present)Date
- the date on which the regional competition was most recently heldLocation
- the location where the tournament was most recently held2021format
- 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 winner2ndBName
- the name of the Division B 2nd place winner3rdBName
- the name of the Division B 3rd place winner1stBPoints
- the points earned by the Division B 1st place winner2ndBPoints
- the points earned by the Division B 2nd place winner3rdBPoints
- the points earned by the Division B 3rd place winner1stCName
- the name of the Division C 1st place winner2ndCName
- the name of the Division C 2nd place winner3rdCName
- the name of the Division C 3rd place winner1stCPoints
- the points earned by the Division C 1st place winner2ndCPoints
- the points earned by the Division C 2nd place winner3rdCPoints
- the points earned by the Division C 3rd place winner
Social Medias
Website
- website for the invitationalscilympiad
- the scilympiad sitefacebook
- Facebook username for the invitationaltwitter
- Twitter username for the invitationalinstagram
- Instagram username for the invitationalyoutube
- Youtube channel for the invitationalemail
- 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 |Year started=2006 |Division=B/C |ChampionB=Ladue Middle School |ChampionC=Ladue 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 |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/ }} |
|
The above documentation is transcluded from Template:InvitationalInfoBox/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. |