Difference between revisions of "Template:InvitationalInfoBox"
Pepperonipi (talk | contribs) (fixed params, thanks nyda) |
|||
Line 3: | Line 3: | ||
! colspan="2" style="font-size: larger; text-align: center;" | '''{{PAGENAME}}''' | ! colspan="2" style="font-size: larger; text-align: center;" | '''{{PAGENAME}}''' | ||
|- | |- | ||
− | {{#if: {{{ | + | {{#if: {{{logo|}}}| |
+ | {{!}}colspan="2"{{!}}<center>[[{{{logo|}}}|150px]]</center> | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if: {{{map|}}}{{{Host|}}}{{{Total teams|}}}{{{ChampionsB|}}}{{{ChampionsC|}}}{{{Date|}}}{{{Website|}}}| {{!}}colspan="2" class="infobox-header"{{!}}'''General Information''' | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 9: | Line 13: | ||
{{!}}'''Map''' | {{!}}'''Map''' | ||
{{!}}{{{map|}}} | {{!}}{{{map|}}} | ||
+ | {{!}}- | ||
+ | |{{#if: {{{state|}}}|{{#if: {{{long|}}}| {{#if: {{{lat|}}}| | ||
+ | {{!}}'''Map''' | ||
+ | {{!}}{{Location map | ||
+ | | mapname = File:{{{state|}}}.svg | ||
+ | | width=250 | ||
+ | | p1lat={{{lat|}}} | ||
+ | | p1long={{{long|}}} | ||
+ | | p1icon=File:Red pog.svg | ||
+ | }} | ||
+ | {{!}}- | ||
+ | |}} | ||
+ | |}} | ||
+ | |}} | ||
+ | }} | ||
+ | {{#if: {{{Location|}}}| | ||
+ | {{!}}'''Location''' | ||
+ | {{!}}{{{Location|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 14: | Line 36: | ||
{{!}}'''Year started''' | {{!}}'''Year started''' | ||
{{!}}{{{Year started|}}} | {{!}}{{{Year started|}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if: {{{Total teams|}}}| | ||
+ | {{!}}'''Total teams''' | ||
+ | {{!}}{{{Total teams|}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 21: | Line 48: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{ChampionB|}}}| |
{{!}}'''[[Division B]] Champion''' | {{!}}'''[[Division B]] Champion''' | ||
− | {{!}}{{{ | + | {{!}}{{{ChampionB|}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
− | {{#if: {{{ | + | {{#if: {{{ChampionC|}}}| |
{{!}}'''[[Division C]] Champion''' | {{!}}'''[[Division C]] Champion''' | ||
− | {{!}}{{{ | + | {{!}}{{{ChampionC|}}} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 34: | Line 61: | ||
{{!}}'''Champion''' | {{!}}'''Champion''' | ||
{{!}}{{{Champion|}}} | {{!}}{{{Champion|}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 44: | Line 66: | ||
{{!}}'''Date''' | {{!}}'''Date''' | ||
{{!}}{{{Date|}}} | {{!}}{{{Date|}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#if: {{{1stBName|}}}{{{1stBPoints|}}}{{{1stCName|}}}{{{1stCPoints|}}}{{{2ndBName|}}}{{{2ndBPoints|}}}{{{2ndCName|}}}{{{2ndCPoints|}}}{{{3rdBName|}}}{{{3rdBPoints|}}}{{{3rdCName|}}}{{{3rdCPoints|}}}| {{!}}colspan="2" class="infobox-header"{{!}}'''Results''' | ||
+ | {{!}}- | ||
+ | {{!}}colspan="2" style="padding: 0;"{{!}} | ||
+ | {{{!}}class="infobox-scoreboard" style="margin: 0; padding: 0; width:100%;" | ||
+ | {{!}}- | ||
+ | {{!}}colspan="3" style="text-align: center;"{{!}}'''Division B''' | ||
+ | {{!}}- | ||
+ | {{!}}- style="background-color: gold;" | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}'''1st''' | ||
+ | {{!}}style="width: 80%; padding-left: 5px;"{{!}} '''{{{1stBName|}}}''' | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}'''{{{1stBPoints|}}}''' | ||
+ | {{!}}- style="background-color: silver;" | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}2nd | ||
+ | {{!}}style="width: 80%; padding-left: 5px;"{{!}}{{{2ndBName|}}} | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}{{{2ndBPoints|}}} | ||
+ | {{!}}- style="background-color: #d1965c;" | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}3rd | ||
+ | {{!}}style="width: 80%; padding-left: 5px;"{{!}}{{{3rdBName|}}} | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}{{{3rdBPoints|}}} | ||
+ | {{!}}- | ||
+ | {{!}}colspan="3" style="text-align: center;"{{!}}'''Division C''' | ||
+ | {{!}}- | ||
+ | {{!}}- style="background-color: gold;" | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}'''1st''' | ||
+ | {{!}}style="width: 80%; padding-left: 5px;"{{!}} '''{{{1stCName|}}}''' | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}'''{{{1stCPoints|}}}''' | ||
+ | {{!}}- style="background-color: silver;" | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}2nd | ||
+ | {{!}}style="width: 80%; padding-left: 5px;"{{!}}{{{2ndCName|}}} | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}{{{2ndCPoints|}}} | ||
+ | {{!}}- style="background-color: #d1965c;" | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}3rd | ||
+ | {{!}}style="width: 80%; padding-left: 5px;"{{!}}{{{3rdCName|}}} | ||
+ | {{!}}style="width: 10%; text-align: center;"{{!}}{{{3rdCPoints|}}} | ||
+ | {{!}}- | ||
+ | {{!}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 51: | Line 111: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
+ | {{#if: {{{Prev|}}}{{{Year|}}}| {{!}}colspan="2" class="infobox-header"{{!}}{{{Prev}}} • '''[[{{PAGENAME}}|{{{Year}}}]]''' • {{{Next}}} | ||
+ | |||
+ | {{!}}- | ||
+ | }} | ||
+ | |||
|} | |} | ||
<noinclude> | <noinclude> |
Revision as of 15:23, 29 April 2020
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/ }} |
|