Difference between revisions of "Template:UserInfoBox"

From Scioly.org
Jump to: navigation, search
Line 149: Line 149:
 
{{#if: {{{email|}}}|
 
{{#if: {{{email|}}}|
 
{{!}}'''Email'''
 
{{!}}'''Email'''
{{!}}[{{{email|}}}]
+
{{!}}[mailto:{{{email|}}}]
 
{{!}}-
 
{{!}}-
 
}}
 
}}

Revision as of 04:17, 29 July 2020

UserInfoBox

The UserInfoBox template is a template used to generate an infobox for a user.

Parameters

All parameters are optional. Any unused parameters will not be displayed in the infobox.

Title

usernamestyle - a styled version of your username to override the default capitalized title on MediaWiki (ex. "sciolyperson1" vs "Sciolyperson1")
logo - shows an image (that was uploaded to the SciOly wiki) that represents the User (i.e. a profile picture)

General Information

yearcount - the total number of years the User competed in SO (there is a separate category for volunteering)
team - the team/school which the User currently attends
grade - grade or year the User is currently (values can be numerical (e.g. 7, 9, 12) or non-numerical (e.g. freshman, junior)
past teams - any past teams/schools which the User was a part of
state - the State that the User competes in
division - the Division that the User competes in

Scioly.org Information

forum - the link to the User's scioly.org profile
staff - the User's staff role, if applicable
exalted - the number of times the User has been exalted, if applicable

Achievements

medals_total - the total number of medals/awards the User has won
medals_invite - the total number of medals/awards from Invitational tournaments the User has won
medals_regional - the total number of medals/awards from Regional tournaments the User has won
medals_state - the total number of medals/awards from State tournaments the User has won
medals_nationals - the total number of medals/awards from National tournaments the User has won

Competitor Info

comp_total - the total number of SO competitions the User has competed in
comp_invite - the total number of Invitational tournaments the User has competed in
comp_regional - the total number of Regional tournaments the User has competed in
comp_state - the total number of State tournaments the User has competed in
comp_nationals - the total number of National tournaments the User has competed in
comp_events_total - the total number of events the User has competed in

Volunteering

volunteer_years - the total number of years the User has volunteered for SO competitions
volunteer_comps - the total number of competitions that the User has volunteered at
volunteer_tests_written - the total number of tests written by the User

Social media

email - the user's email address (reminder to not share too much personal information)
facebook - the user's facebook profile (reminder to not share too much personal information)
twitter - the user's twitter handle (reminder to not share too much personal information)
instagram - the user's instagram handle (reminder to not share too much personal information)
Website - the user's website (reminder to not share too much personal information)
discord - the user's discord handle (reminder to not share too much personal information)

Usage

The template should be placed at the very top of an article, with no empty line breaks before or after the template. Note that it is not necessary to use all parameters. Unused parameters will not be displayed in the infobox.

Examples

Code Result
{{UserInfoBox
|yearcount=6
}}
UserInfoBox
General Information
Years in SO 6
{{UserInfoBox
|yearcount=6
|logo=File:BocaInvasive 1.png
}}
UserInfoBox
BocaInvasive 1.png
General Information
Years in SO 6
{{UserInfoBox
|yearcount=6
|state=[[Missouri|MO]]
}}
UserInfoBox
General Information
Years in SO 6
State MO
{{UserInfoBox
|yearcount=6
|state=[[Missouri|MO]]
|grade=12
}}
UserInfoBox
General Information
Years in SO 6
Grade 12th
State MO
{{UserInfoBox
|yearcount=6
|state=[[Missouri|MO]]
|grade=Senior
}}
UserInfoBox
General Information
Years in SO 6
Grade Senior
State MO
{{UserInfoBox
|yearcount=6
|state=[[Missouri|MO]]
|division=C
|medals_total=25
}}
UserInfoBox
General Information
Years in SO 6
State MO
Division C
Achievements
Total medals 25
{{UserInfoBox
|usernamestyle=username
|yearcount=6
|team=[[Ladue Horton Watkins High School]]
|past teams=[[Ladue Middle School]]
|state=[[Missouri|MO]]
|division=C
|staff=Global Moderator
|exalted=3
|forum=https://scioly.org
|medals_total=25
|medals_invite=15
|medals_regional=5
|medals_state=4
|medals_nationals=1
}}
username
General Information
Years in SO 6
Current Team Ladue Horton Watkins High School
Past Team(s) Ladue Middle School
State MO
Division C
Scioly.org Information
Forum profile username
Staff Position Global Moderator
Exalted 3x
Gold.gifGold.gifGold.gif
Achievements
Total medals 25
Invitational medals 15
Regional medals 5
State medals 4
National medals 1
{{UserInfoBox
|usernamestyle=username
|yearcount=6
|team=[[Ladue Horton Watkins High School]]
|past teams=[[Ladue Middle School]]
|state=[[Missouri|MO]]
|division=C
|staff=Global Moderator
|exalted=3
|forum=https://scioly.org
|medals_total=25
|medals_invite=15
|medals_regional=5
|medals_state=4
|medals_nationals=1
|volunteer_years=2
|volunteer_comps=3
|volunteer_tests_written=2
}}
username
General Information
Years in SO 6
Current Team Ladue Horton Watkins High School
Past Team(s) Ladue Middle School
State MO
Division C
Scioly.org Information
Forum profile username
Staff Position Global Moderator
Exalted 3x
Gold.gifGold.gifGold.gif
Achievements
Total medals 25
Invitational medals 15
Regional medals 5
State medals 4
National medals 1
Volunteering
Years volunteered 2
Number of competitions 3
Number of tests written 2
{{UserInfoBox
|usernamestyle=username
|yearcount=6
|team=[[Ladue Horton Watkins High School]]
|past teams=[[Ladue Middle School]]
|state=[[Missouri|MO]]
|division=C
|staff=Global Moderator
|exalted=3
|forum=https://scioly.org
|medals_total=25
|medals_invite=15
|medals_regional=5
|medals_state=4
|medals_nationals=1
|volunteer_years=2
|volunteer_comps=3
|volunteer_tests_written=2
|comp_total=27
|comp_invite=16
|comp_regional=6
|comp_state=4
|comp_nationals=1
|comp_events_total=9
}}
username
General Information
Years in SO 6
Current Team Ladue Horton Watkins High School
Past Team(s) Ladue Middle School
State MO
Division C
Scioly.org Information
Forum profile username
Staff Position Global Moderator
Exalted 3x
Gold.gifGold.gifGold.gif
Achievements
Total medals 25
Invitational medals 15
Regional medals 5
State medals 4
National medals 1
Competitor Info
Competitons attended 27
Invitationals attended 16
Regionals attended 6
States attended 4
Nationals attended 1
Events competed in 9
Volunteering
Years volunteered 2
Number of competitions 3
Number of tests written 2