Jump to content

Template:Infobox school/doc: Difference between revisions

From Wiki - Scioly.org
Changed website param to URL param
No edit summary
Line 10: Line 10:


'''Team Information'''
'''Team Information'''
:<code><nowiki>name</nowiki></code> - name of the school, if different from the page name
:<code><nowiki>logo</nowiki></code> - logo of the school's team
:<code><nowiki>logo</nowiki></code> - logo of the school's team
:<code><nowiki>Member since</nowiki></code> - year of which school has been a part of Science Olympiad
:<code><nowiki>Member since</nowiki></code> - year of which school has been a part of Science Olympiad

Revision as of 03:42, 23 April 2021

The TeamInfoBox template is a template used to generate an infobox for a team. A majority of this information is available through Google or school webpages, though some of it (such as amount of coaches) may not be accessible without direct communication with the team in question. Adding as much to the infobox as possible makes information about a team more accessible and reduces the amount of time it may take to locate these facts in the future.

Parameters

Location/map Parameters

location - the school's address using abbreviations in place of written words (ex. "423 E Central St" not "423 East Central Street")
state - the state the school is in (WRITTEN IN FULL: ex. "California" not "CA" or "Georgia" not "GA")
long - the longitude of the school
lat - the latitude of the school
map - a template for creating a custom map showing the school's location (please use state, long, and lat params instead)

Team Information

name - name of the school, if different from the page name
logo - logo of the school's team
Member since - year of which school has been a part of Science Olympiad
teams - number of teams the school had in the most recent season with available information
coaches - number of coaches the school has
colors - school colors
captains - number of captains the school has/the users which are captains (if applicable)
tournament - tournament(s) the school hosts
feedsfrom - school(s) which the school feeds from
feedsto - school(s) which the school feeds to
region - region that school participants in
district - the school district the school belongs to, if applicable

Results Information

Best regional - year of which school scored the highest at a regional tournament
Best state - year of which school scored the highest at a state tournament
Best nationals - year of which school scored the highest at a nationals tournament
nationals_awards - team awards at nationals

Social Medias

facebook - Facebook username for the team
twitter - Twitter username for the team
instagram - Instagram username for the team
Website - website for the team
youtube_channelid - The channel id string for the team's YouTube channel (information on finding this can be found here)
youtube_user - The user string for the team's YouTube channel (information on finding this can be found here)
youtube_alias - The alias for the team YouTube channel (aka, the text representing the link to the channel)

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
{{TeamInfoBox
|Member since=2006
}}

Template:TeamInfoBox

{{TeamInfoBox
|Member since=2006
|Best regional=1st (2007, 2012)
|Best state=1st (2008)
|Best nationals=34th (2008)
}}

Template:TeamInfoBox

{{TeamInfoBox
|state=Kansas
|location=701 Kenwood Park Dr {{break}} Salina, KS 67401
|Member since=2006
|Best regional=B: 1st (2007, 2012) {{break}} C: 3rd (2014)
|Best state=B: 1st (2008) {{break}} C: 5th (1007)
|Best nationals=B: 34th (2008)
|Website={{URL|http://www.scioly.org}}
}}

Template:TeamInfoBox

{{TeamInfoBox
|logo=Image:FakeSchoolLogo.png
|state=Missouri
|lat=38.0084
|long=-93.4724
|location=1234 W School St {{break}} Schooltown, MO 65735
|Member since=2006
|teams=2
|coaches=1
|colors={{color box|red}} Red, {{color box|white}} White
|captains=2
|tournament=InfoBox Invitational
|feedsfrom=Informational Elementary School
|feedsto=Informational High School
|region=Central Region
|district=[[Chicago Public Schools]]
|Best regional=1st (2007, 2012)
|Best state=1st (2008)
|Best nationals=34th (2008)
|nationals_awards=Lockheed Martin Spirit Award (2008)
|facebook=SOAlumniNetwork
|twitter=scienceolympiad
|instagram=ncsciolympiad
|youtube_channelid=UCg3fbV5gFNml-HZrBGPo9ow
|youtube_alias=Random School Channel
|Website={{URL|http://www.scioly.org}}
}}

Template:TeamInfoBox