Jump to content

Template:Infobox event/doc: Difference between revisions

From Wiki - Scioly.org
Pi-Bot (talk | contribs)
m Bot: Standardizing infobox templates. Moving Template:EventLinksBox to Template:Infobox event.
Updated based on recent changes (Rearranged Event Information section to match the order in the rules header and split off some components into a History section), reformatted examples, replaced full example with Hovercraft as it showcases all params
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
The '''Infobox event''' template is used to generate an infobox for an [[:Category:Event Pages|event page]].
The '''Infobox event''' template is used to generate an infobox for an [[:Category:Events|event page]].


==Parameters==
==Parameters==
'''Categorization parameters'''
'''Categorization parameters'''
*<code>active</code> - ONLY include this parameter if the event is being held for the current season. If this parameter is set, then the infobox will specify that this event is being held in the current season. What the parameter is set to does not matter, though it is typically set to yes or true to maintain clarity.
*<code>active</code> - ONLY include this parameter if the event is being held for the current season. If this parameter is set, then the infobox will specify that this event is being held in the current season. What the parameter is set to does not matter, though it is typically set to <code>yes</code> to maintain clarity.
*<code>type</code> - the event type, as defined by the national rules committee. The types are (as abbreviated for formatting): Life Science, Earth Science, Physics, Chemistry, Engineering, and Inquiry.
*<code>type</code> - the event type, as defined by the national rules committee. The types are (as abbreviated for formatting): Life Science, Earth Science, Physics, Chemistry, Engineering, and Inquiry.
*<code>cat</code> - the category the event falls under on the forum home page (Build, Lab, or Study)
*<code>cat</code> - the category the event falls under on the forum home page (Build, Lab, or Study)
*<code>description</code> - the description of the event as defined by the national rules, typically at the beginning of Rule 1 for a given event.


'''Event parameters'''
'''Event Information parameters'''
*<code>participants</code> - the number of people who can participate in the event per team
*<code>participants</code> - the number of people who can participate in the event per team
*<code>eventtime</code> - the amount of time it takes to complete the event
*<code>eyeprotection</code> - eye protection required for the event
*<code>impound</code> - whether the event has impound
*<code>impound</code> - whether the event has impound
*<code>resources</code> - a '''{{color|red|basic}}''' description of resources that a participant in the event can have
*<code>resources</code> - a '''{{color|red|basic}}''' description of resources that a participant in the event can have
*<code>rotates</code> - whether the event rotates
*<code>eventtime</code> - the amount of time it takes to complete the event
*<code>eyeprotection</code> - eye protection required for the event
 
'''History parameters'''
*<code>firstappearance</code> - the year that the event first appeared
*<code>firstappearance</code> - the year that the event first appeared
*<code>latestappearance</code> - the most recent year that the event appeared
*<code>latestappearance</code> - the most recent year that the event appeared
*<code>rotates</code> - whether the event rotates, most commonly either <code>No</code>, <code>Yes</code>, or <code>No, only topics rotate</code>


'''Scioly.org-related parameters'''
'''Scioly.org-related parameters'''
Line 30: Line 33:


==Usage==
==Usage==
The template should be placed at the very top of an article, with no empty line breaks before or after the template.  
The template should be placed at the very top of an article, with no empty line breaks before or after the template.
 
As these templates may have a lot of paramters, try to stick to the consistent formatting style, to keep them easy to read and maintain.


==Examples==
==Examples==
Line 39: Line 44:
|<pre>
|<pre>
{{Infobox event
{{Infobox event
|active=yes
    | active           = yes
|type=Life Science
    | type             = Life Science
|cat=Study}}
    | cat             = Study
}}
</pre>
</pre>
|
|
{{Infobox event
{{Infobox event
|active=yes
    | active           = yes
|type=Life Science
    | type             = Life Science
|cat=Study}}
    | cat             = Study
}}
|-
|-
|<pre>
|<pre>
{{Infobox event
{{Infobox event
|active=yes
    | active           = yes
|type=Life Science
    | type             = Life Science
|cat=Study
    | cat             = Study
|2019thread=[https://scioly.org/forums/viewtopic.php?f=285&t=12165 2019]
    | 2019thread       = [https://scioly.org/forums/viewtopic.php?f=285&t=12165 2019]
|2019questions=[https://scioly.org/forums/viewtopic.php?f=297&t=12397 2019]
    | 2020thread      = [https://scioly.org/forums/viewtopic.php?f=285&t=15386 2020]
|2020thread=[https://scioly.org/forums/viewtopic.php?f=285&t=15386 2020]
    | 2019questions    = [https://scioly.org/forums/viewtopic.php?f=297&t=12397 2019]
|2020questions=[https://scioly.org/forums/viewtopic.php?f=297&t=15735 2020]}}
    | 2020questions   = [https://scioly.org/forums/viewtopic.php?f=297&t=15735 2020]
}}
</pre>
</pre>
|
|
{{Infobox event
{{Infobox event
|active=yes
    | active           = yes
|type=Life Science
    | type             = Life Science
|cat=Study
    | cat             = Study
|2019thread=[https://scioly.org/forums/viewtopic.php?f=285&t=12165 2019]
    | 2019thread       = [https://scioly.org/forums/viewtopic.php?f=285&t=12165 2019]
|2019questions=[https://scioly.org/forums/viewtopic.php?f=297&t=12397 2019]
    | 2020thread      = [https://scioly.org/forums/viewtopic.php?f=285&t=15386 2020]
|2020thread=[https://scioly.org/forums/viewtopic.php?f=285&t=15386 2020]
    | 2019questions    = [https://scioly.org/forums/viewtopic.php?f=297&t=12397 2019]
|2020questions=[https://scioly.org/forums/viewtopic.php?f=297&t=15735 2020]}}
    | 2020questions   = [https://scioly.org/forums/viewtopic.php?f=297&t=15735 2020]
}}
|-
|-
|<pre>
|<pre>
{{Infobox event
{{Infobox event
|active=yes
    | active           = yes
|type=Life Science
    | type             = Physics
|cat=Study
    | cat             = Lab
|participants=2
    | description      = Prior to the competition, participants will design, construct, and calibrate a self-propelled air-levitated vehicle that moves down a track.
|eventtime=50 Minutes
    | participants    = 2
|eyeprotection=None
    | eyeprotection   = B
|rotates=No, only systems rotate
    | impound          = Yes
|resources=
    | resources       = * One Binder
* One cheat sheet
* writing utensils
* Two basic calculators
* Two Class III Calculators
|impound=No
    | eventtime        = 50 minutes
|firstappearance=1984
    | firstappearance = 2017
|2019thread=[https://scioly.org/forums/viewtopic.php?f=285&t=12165 2019]
    | latestappearance = 2026
|2019questions=[https://scioly.org/forums/viewtopic.php?f=297&t=12397 2019]
    | rotates          = Yes
|2020thread=[https://scioly.org/forums/viewtopic.php?f=285&t=15386 2020]
    | 2017thread      = [http://scioly.org/phpBB3/viewtopic.php?f=226&t=9283 2017]
|2020questions=[https://scioly.org/forums/viewtopic.php?f=297&t=15735 2020]
    | 2018thread      = [https://scioly.org/forums/viewtopic.php?f=264&t=10867 2018]
|1stBName=Solon Middle School
    | testsArchive    = true
|1stCName=Carmel High School
    | 2017questions    = [http://www.scioly.org/forums/viewtopic.php?f=228&t=10085 2017]
|2ndBName=Kennedy Middle School
    | 1stBName         = Tower Heights Middle School
|3rdBName=Beckendorff Junior High School
    | 2ndBName        = Meads Mill Middle School
|2ndCName=Brookwood High School
    | 3rdBName        = Kennedy Middle School
|3rdCName=Troy High School
    | 1stCName        = Mounds View High School
|WebsiteB=https://www.soinc.org/anatomy-and-physiology-b
    | 2ndCName         = New Trier High School
|WebsiteC=https://www.soinc.org/anatomy-and-physiology-c}}
    | 3rdCName         = Columbia High School
    | WebsiteB         = https://www.soinc.org/hovercraft-b
    | WebsiteC         = https://www.soinc.org/hovercraft-c
}}
</pre>
</pre>
|
|
{{Infobox event
{{Infobox event
|active=yes
    | active           = yes
|type=Life Science
    | type             = Physics
|cat=Study
    | cat             = Lab
|participants=2
    | description      = Prior to the competition, participants will design, construct, and calibrate a self-propelled air-levitated vehicle that moves down a track.
|eventtime=50 Minutes
    | participants    = 2
|eyeprotection=None
    | eyeprotection   = B
|rotates=No, only systems rotate
    | impound          = Yes
|resources=
    | resources       = * One Binder
* One cheat sheet
* writing utensils
* Two basic calculators
* Two Class III Calculators
|impound=No
    | eventtime        = 50 minutes
|firstappearance=1984
    | firstappearance = 2017
|2019thread=[https://scioly.org/forums/viewtopic.php?f=285&t=12165 2019]
    | latestappearance = 2026
|2019questions=[https://scioly.org/forums/viewtopic.php?f=297&t=12397 2019]
    | rotates          = Yes
|2020thread=[https://scioly.org/forums/viewtopic.php?f=285&t=15386 2020]
    | 2017thread      = [http://scioly.org/phpBB3/viewtopic.php?f=226&t=9283 2017]
|2020questions=[https://scioly.org/forums/viewtopic.php?f=297&t=15735 2020]
    | 2018thread      = [https://scioly.org/forums/viewtopic.php?f=264&t=10867 2018]
|1stBName=Solon Middle School
    | testsArchive    = true
|1stCName=Carmel High School
    | 2017questions    = [http://www.scioly.org/forums/viewtopic.php?f=228&t=10085 2017]
|2ndBName=Kennedy Middle School
    | 1stBName         = Tower Heights Middle School
|3rdBName=Beckendorff Junior High School
    | 2ndBName        = Meads Mill Middle School
|2ndCName=Brookwood High School
    | 3rdBName        = Kennedy Middle School
|3rdCName=Troy High School
    | 1stCName        = Mounds View High School
|WebsiteB=https://www.soinc.org/anatomy-and-physiology-b
    | 2ndCName         = New Trier High School
|WebsiteC=https://www.soinc.org/anatomy-and-physiology-c}}
    | 3rdCName         = Columbia High School
    | WebsiteB         = https://www.soinc.org/hovercraft-b
    | WebsiteC         = https://www.soinc.org/hovercraft-c
}}
|}
|}
<includeonly>
<includeonly>

Latest revision as of 02:25, 27 August 2025

The Infobox event template is used to generate an infobox for an event page.

Parameters

Categorization parameters

  • active - ONLY include this parameter if the event is being held for the current season. If this parameter is set, then the infobox will specify that this event is being held in the current season. What the parameter is set to does not matter, though it is typically set to yes to maintain clarity.
  • type - the event type, as defined by the national rules committee. The types are (as abbreviated for formatting): Life Science, Earth Science, Physics, Chemistry, Engineering, and Inquiry.
  • cat - the category the event falls under on the forum home page (Build, Lab, or Study)
  • description - the description of the event as defined by the national rules, typically at the beginning of Rule 1 for a given event.

Event Information parameters

  • participants - the number of people who can participate in the event per team
  • eyeprotection - eye protection required for the event
  • impound - whether the event has impound
  • resources - a basic description of resources that a participant in the event can have
  • eventtime - the amount of time it takes to complete the event

History parameters

  • firstappearance - the year that the event first appeared
  • latestappearance - the most recent year that the event appeared
  • rotates - whether the event rotates, most commonly either No, Yes, or No, only topics rotate

Scioly.org-related parameters

  • <year>thread - links to the event thread for a particular year. The parameter value should be in the form of an external link, in wiki markup. Omit the parameter if there was no forum thread (either regular or trial) in that year.
  • <year>questions - links to a Question Marathon threads for a particular year. Use exactly like forum threads. While a Question Marathon subforum did not exist in 2012 and 2013, question marathon threads still may exist for some events from that time.

Champion parameters

  • 1stBName, 2ndBName, 3rdBName - the three highest placing Divison B teams at the most recent National Tournament this event was held at
  • 1stCName, 2ndCName, 3rdCName - the three highest placing Division C teams at the most recent National Tournament this event was held at

Website parameters

  • Website - the link to the official Science Olympiad Inc. website for the event. Only use this parameter if the event is exclusive to one division.
  • WebsiteB, WebsiteC - the links to the official Science Olympiad Inc. website for the event in each division. Only use these parameters if the event is featured in both divisions.

Usage

The template should be placed at the very top of an article, with no empty line breaks before or after the template.

As these templates may have a lot of paramters, try to stick to the consistent formatting style, to keep them easy to read and maintain.

Examples

Code Result
{{Infobox event
    | active           = yes
    | type             = Life Science
    | cat              = Study
}}
{{Infobox event
    | active           = yes
    | type             = Life Science
    | cat              = Study
    | 2019thread       = [https://scioly.org/forums/viewtopic.php?f=285&t=12165 2019]
    | 2020thread       = [https://scioly.org/forums/viewtopic.php?f=285&t=15386 2020]
    | 2019questions    = [https://scioly.org/forums/viewtopic.php?f=297&t=12397 2019]
    | 2020questions    = [https://scioly.org/forums/viewtopic.php?f=297&t=15735 2020]
}}
{{Infobox event
    | active           = yes
    | type             = Physics
    | cat              = Lab
    | description      = Prior to the competition, participants will design, construct, and calibrate a self-propelled air-levitated vehicle that moves down a track.
    | participants     = 2
    | eyeprotection    = B
    | impound          = Yes
    | resources        = * One Binder
* writing utensils
* Two Class III Calculators
    | eventtime        = 50 minutes
    | firstappearance  = 2017
    | latestappearance = 2026
    | rotates          = Yes
    | 2017thread       = [http://scioly.org/phpBB3/viewtopic.php?f=226&t=9283 2017]
    | 2018thread       = [https://scioly.org/forums/viewtopic.php?f=264&t=10867 2018]
    | testsArchive     = true
    | 2017questions    = [http://www.scioly.org/forums/viewtopic.php?f=228&t=10085 2017]
    | 1stBName         = Tower Heights Middle School
    | 2ndBName         = Meads Mill Middle School
    | 3rdBName         = Kennedy Middle School
    | 1stCName         = Mounds View High School
    | 2ndCName         = New Trier High School
    | 3rdCName         = Columbia High School
    | WebsiteB         = https://www.soinc.org/hovercraft-b
    | WebsiteC         = https://www.soinc.org/hovercraft-c
}}