Difference between revisions of "Template:Userbox/School"
Jump to navigation
Jump to search
Jaspattack (talk | contribs) m (updating to new userbox template) |
m (Removed `float` parameter declaration to enable `display: inline-block;`.) |
||
Line 1: | Line 1: | ||
{{Userbox | {{Userbox | ||
− | |||
|border-width=1 | |border-width=1 | ||
|border-color={{{border-color|#000}}} | |border-color={{{border-color|#000}}} |
Latest revision as of 17:27, 13 October 2020
? | Userbox/School attends an unknown school. |
The Userbox/School template is used for indicating the school that a competitor has attended, either currently or in the past. All parameters are optional, except for school
and sshort
.
Parameters
Information
sshort
- the abbreviation of the school's name, e.g. LHW for Ladue Horton Watkins High School (if using a school's logo instead of its abbreviation, use the code [[File:FILENAME]])school
- the name of the desired school in full, e.g. Ladue Horton Watkins High School
Colors
border-color
- sets the userbox's border color (black by default)logo-background
- the logo's background color (blue by default)logo-color
- the logo's color (white by default)info-background
- the color of the main part of the userbox (white by default)info-size
- the size of the userbox's text in points, written in the form of an integer (8 by default)info-color
- the userbox's text color color (black by default)
Miscellaneous
past
- set to 1 if the competitor no longer attends this school, set to 0 or leave blank if the competitor currently attends this schoolname
- the competitor's name, overrides page name
Examples
Code | Result | ||
---|---|---|---|
{{Userbox/School |sshort=WWPN |school=[[West Windsor-Plainsboro High School North]]}} |
| ||
{{Userbox/School |border-color=#000 |logo-background=#FFF |logo-color=#007 |sshort=[[File:Ladue.jpeg|35px]] |info-background=#00F |info-size=10 |info-color=#FFF |school=Ladue Middle School |past=1 |name=Benedict Arnold}} |
The above documentation is transcluded from Template:Userbox/School/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |