Difference between revisions of "Template:Infobox user/doc"
Jump to navigation
Jump to search
Lumosityfan (talk | contribs) (Added categories) |
m (→General Information: fixed unmatched parentheses) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
The '''UserInfoBox''' template is a template used to generate an infobox for a user. | The '''UserInfoBox''' template is a template used to generate an infobox for a user. | ||
Line 10: | Line 10: | ||
:<code><nowiki>yearcount</nowiki></code> - the total number of years the User competed in SO (there is a separate category for volunteering) | :<code><nowiki>yearcount</nowiki></code> - the total number of years the User competed in SO (there is a separate category for volunteering) | ||
:<code><nowiki>team</nowiki></code> - the team/school which the User currently attends | :<code><nowiki>team</nowiki></code> - the team/school which the User currently attends | ||
− | :<code><nowiki>grade</nowiki></code> - grade or year the User is currently (values can be numerical (e.g. 7, 9, 12) or non-numerical (e.g. freshman, junior) | + | :<code><nowiki>grade</nowiki></code> - grade or year the User is currently (values can be numerical (e.g. 7, 9, 12) or non-numerical (e.g. freshman, junior)) |
:<code><nowiki>past teams</nowiki></code> - any past teams/schools which the User was a part of | :<code><nowiki>past teams</nowiki></code> - any past teams/schools which the User was a part of | ||
:<code><nowiki>state</nowiki></code> - the State that the User competes in | :<code><nowiki>state</nowiki></code> - the State that the User competes in | ||
:<code><nowiki>division</nowiki></code> - the Division that the User competes in | :<code><nowiki>division</nowiki></code> - the Division that the User competes in | ||
+ | |||
==== Scioly.org Information ==== | ==== Scioly.org Information ==== | ||
:<code><nowiki>forum</nowiki></code> - the link to the User's scioly.org profile | :<code><nowiki>forum</nowiki></code> - the link to the User's scioly.org profile | ||
Line 23: | Line 24: | ||
:<code><nowiki>medals_regional</nowiki></code> - the total number of medals/awards from Regional tournaments the User has won | :<code><nowiki>medals_regional</nowiki></code> - the total number of medals/awards from Regional tournaments the User has won | ||
:<code><nowiki>medals_state</nowiki></code> - the total number of medals/awards from State tournaments the User has won | :<code><nowiki>medals_state</nowiki></code> - the total number of medals/awards from State tournaments the User has won | ||
− | :<code><nowiki> | + | :<code><nowiki>medals_myso</nowiki></code> - the total number of medals/awards from MYSO the User has won |
==== Competitor Info ==== | ==== Competitor Info ==== | ||
:<code><nowiki>comp_total</nowiki></code> - the total number of SO competitions the User has competed in | :<code><nowiki>comp_total</nowiki></code> - the total number of SO competitions the User has competed in | ||
Line 35: | Line 36: | ||
:<code><nowiki>volunteer_comps</nowiki></code> - the total number of competitions that the User has volunteered at | :<code><nowiki>volunteer_comps</nowiki></code> - the total number of competitions that the User has volunteered at | ||
:<code><nowiki>volunteer_tests_written</nowiki></code> - the total number of tests written by the User | :<code><nowiki>volunteer_tests_written</nowiki></code> - the total number of tests written by the User | ||
+ | ==== Social media ==== | ||
+ | :<code><nowiki>email</nowiki></code> - the user's email address (reminder to not share too much personal information) | ||
+ | :<code><nowiki>facebook</nowiki></code> - the user's facebook profile (reminder to not share too much personal information) | ||
+ | :<code><nowiki>twitter</nowiki></code> - the user's twitter handle (reminder to not share too much personal information) | ||
+ | :<code><nowiki>instagram</nowiki></code> - the user's instagram handle (reminder to not share too much personal information) | ||
+ | :<code><nowiki>Website</nowiki></code> - the user's website (reminder to not share too much personal information) | ||
+ | :<code><nowiki>discord</nowiki></code> - the user's discord handle (reminder to not share too much personal information) | ||
== Usage == | == Usage == | ||
Line 255: | Line 263: | ||
|- | |- | ||
|} | |} | ||
+ | <includeonly> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:User Templates]] | [[Category:User Templates]] | ||
− | [[Category: | + | [[Category:Infobox Templates]] |
+ | </includeonly> | ||
+ | <noinclude> | ||
+ | [[Category:Documentation]] | ||
+ | </noinclude> |
Revision as of 06:29, 29 May 2021
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 attendsgrade
- 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 ofstate
- the State that the User competes indivision
- the Division that the User competes in
Scioly.org Information
forum
- the link to the User's scioly.org profilestaff
- the User's staff role, if applicableexalted
- the number of times the User has been exalted, if applicable
Achievements
medals_total
- the total number of medals/awards the User has wonmedals_invite
- the total number of medals/awards from Invitational tournaments the User has wonmedals_regional
- the total number of medals/awards from Regional tournaments the User has wonmedals_state
- the total number of medals/awards from State tournaments the User has wonmedals_myso
- the total number of medals/awards from MYSO the User has won
Competitor Info
comp_total
- the total number of SO competitions the User has competed incomp_invite
- the total number of Invitational tournaments the User has competed incomp_regional
- the total number of Regional tournaments the User has competed incomp_state
- the total number of State tournaments the User has competed incomp_nationals
- the total number of National tournaments the User has competed incomp_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 competitionsvolunteer_comps
- the total number of competitions that the User has volunteered atvolunteer_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 |yearcount=6 |logo=File:BocaInvasive 1.png }} |
|
{{UserInfoBox |yearcount=6 |state=[[Missouri|MO]] }} |
|
{{UserInfoBox |yearcount=6 |state=[[Missouri|MO]] |grade=12 }} |
|
{{UserInfoBox |yearcount=6 |state=[[Missouri|MO]] |grade=Senior }} |
|
{{UserInfoBox |yearcount=6 |state=[[Missouri|MO]] |division=C |medals_total=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 }} |
|
{{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 }} |
|
{{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 }} |