Difference between revisions of "Template:EventLinksBox"

From Scioly.org
Jump to: navigation, search
(Added more params)
(Trying to get latest appearance param to work)
 
(4 intermediate revisions by the same user not shown)
Line 19: Line 19:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{2025thread|}}}{{{2024thread|}}}{{{2023thread|}}}{{{202thread|}}}{{{2021thread|}}}{{{2020thread|}}}{{{2019thread|}}}{{{2018thread|}}}{{{2017thread|}}}{{{2016thread|}}}{{{2015thread|}}}{{{2014thread|}}}{{{2013thread|}}}{{{2012thread|}}}{{{2011thread|}}}{{{2010thread|}}}{{{2009thread|}}}| {{!}}colspan="2" class="infobox-header"{{!}}'''Event Information'''  
+
{{#if: {{{participants|}}}{{{eventtime|}}}{{{impound|}}}{{{resources|}}}{{{rotates|}}}{{{eyeprotection|}}}{{{firstappearance|}}}{{{latestappearance|}}}{{{2017thread|}}}{{{2016thread|}}}{{{2015thread|}}}{{{2014thread|}}}{{{2013thread|}}}{{{2012thread|}}}{{{2011thread|}}}{{{2010thread|}}}{{{2009thread|}}}| {{!}}colspan="2" class="infobox-header"{{!}}'''Event Information'''  
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 25: Line 25:
 
{{!}}'''Participants'''
 
{{!}}'''Participants'''
 
{{!}}{{{participants|}}}
 
{{!}}{{{participants|}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{eventtime|}}}|
 +
{{!}}'''Approx. Time'''
 +
{{!}}{{{eventtime|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 34: Line 39:
 
{{#if: {{{resources|}}}|
 
{{#if: {{{resources|}}}|
 
{{!}}'''Allowed Resources'''
 
{{!}}'''Allowed Resources'''
{{!}}{{{impound|}}}
+
{{!}}<nowiki />
 +
{{{resources|}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 52: Line 58:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{latestappearance|}}}|
+
{{#if: {{{latestappearance|}}}{{{2025thread|}}}{{{2024thread|}}}{{{2023thread|}}}{{{2022thread|}}}{{{2021thread|}}}{{{2020thread|}}}{{{2019thread|}}}{{{2018thread|}}}{{{2017thread|}}}{{{2016thread|}}}{{{2015thread|}}}{{{2014thread|}}}{{{2013thread|}}}{{{2012thread|}}}{{{2011thread|}}}{{{2010thread|}}}{{{2009thread|}}}|
 
{{!}}'''Latest Appearance'''
 
{{!}}'''Latest Appearance'''
{{!}}{{#if: {{{latestappearance|}}}|{{{latestappearance|}}}|{{#if: {{{2025thread}}}|2025|{{#if: {{{2024thread}}}|2024|{{#if: {{{2023thread}}}|2023|{{#if: {{{2022thread}}}|2022|{{#if: {{{2021thread}}}|2021|{{#if: {{{2020thread}}}|2020|{{#if: {{{2019thread}}}|2019|{{#if: {{{2018thread}}}|2018|{{#if: {{{2017thread}}}|2017|{{#if: {{{2016thread}}}|2016|{{#if: {{{2015thread}}}|2015|{{#if: {{{2014thread}}}|2014|{{#if: {{{2013thread}}}|2013|{{#if: {{{2012thread}}}|2012|{{#if: {{{2011thread}}}|2011|{{#if: {{{2010thread}}}|2010|{{#if: {{{2009thread}}}|2009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
+
{{!}}{{#if: {{{latestappearance|}}}|{{{latestappearance|}}}|{{#if: {{{2025thread|}}}|2025|{{#if: {{{2024thread|}}}|2024|{{#if: {{{2023thread|}}}|2023|{{#if: {{{2022thread|}}}|2022|{{#if: {{{2021thread|}}}|2021|{{#if: {{{2020thread|}}}|2020|{{#if: {{{2019thread|}}}|2019|{{#if: {{{2018thread|}}}|2018|{{#if: {{{2017thread|}}}|2017|{{#if: {{{2016thread|}}}|2016|{{#if: {{{2015thread|}}}|2015|{{#if: {{{2014thread|}}}|2014|{{#if: {{{2013thread|}}}|2013|{{#if: {{{2012thread|}}}|2012|{{#if: {{{2011thread|}}}|2011|{{#if: {{{2010thread|}}}|2010|{{#if: {{{2009thread|}}}|2009}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}

Latest revision as of 15:52, 4 July 2020

EventLinksBox

50px Template documentation[view] [edit] [history] [purge]

Template:EventLinksBox - Documentation

The EventLinksBox 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 or true 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)

Event parameters

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

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.

Examples

Code Result
{{EventLinksBox
|active=yes
|type=Life Science
|cat=Study
}}
EventLinksBox
This event is an event held in the current season.

Type Life Science
Category Study
{{EventLinksBox
|active=yes
|type=Life Science
|cat=Study
|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]
|2020questions=[https://scioly.org/forums/viewtopic.php?f=297&t=15735 2020]
}}
EventLinksBox
This event is an event held in the current season.

Type Life Science
Category Study
Latest Appearance 2020
Forum Threads
Forum Question Threads
{{EventLinksBox
|active=yes
|type=Life Science
|cat=Study
|participants=2
|eventtime=50 Minutes
|eyeprotection=None
|rotates=No, only systems rotate
|resources=
* One cheat sheet
* Two basic calculators
|impound=No
|firstappearance=1984
|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]
|2020questions=[https://scioly.org/forums/viewtopic.php?f=297&t=15735 2020]
|1stBName=Solon Middle School
|1stCName=Carmel High School
|2ndBName=Kennedy Middle School
|3rdBName=Beckendorff Junior High School
|2ndCName=Brookwood High School
|3rdCName=Troy High School
|WebsiteB=https://www.soinc.org/anatomy-and-physiology-b
|WebsiteC=https://www.soinc.org/anatomy-and-physiology-c
}}
EventLinksBox
This event is an event held in the current season.

Type Life Science
Category Study
Event Information
Participants 2
Approx. Time 50 Minutes
Impound No
Allowed Resources
  • One cheat sheet
  • Two basic calculators
Rotates No, only systems rotate
Eye Protection None
First Appearance 1984
Latest Appearance 2020
Forum Threads
Forum Question Threads
Official Resources
Division B Website soinc.org
Division C Website soinc.org
Division B Results
1st Solon Middle School
2nd Kennedy Middle School
3rd Beckendorff Junior High School
Division C Results
1st Carmel High School
2nd Brookwood High School
3rd Troy High School