Template:Userbox-level/doc
Appearance
This is a documentation subpage for Template:Userbox-level. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 105,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Usage
[edit]{{userbox-level
| level = 0|1|2|3|4|5 (optional)
| hidden-level = level used for color scheme (optional)
| id = id text or image
| id-s = id text size (optional)
| id-op = id other parameter (CSS) (optional)
| info = info text
| info-s = info text size (optional)
| info-lh = info text line CSS height (optional)
| info-op = info other parameter (CSS) (optional)
| usercategory = user category (optional)
| usercategory2 = (same as above)
| usercategory3 = (same as above)
}}
Levels 0, 3, and 5 levels have a choice of two different colour schemes which can be specified by using the a or b suffix, for example level = 3b
.
Examples
[edit]{{userbox-level
| id = awk
| info = This user is an '''AWK''' user.
}}
|
| ||
{{userbox-level
| level = 1
| id = awk
| id-s = 10
| info = This user is a '''beginning AWK''' programmer.
}}
|
| ||
{{userbox-level
| level =
| hidden-level = 1
| id = awk1
| id-s = 10
| info = This user is a '''beginning AWK''' programmer.
}}
|
| ||
{{userbox-level
| level = 2
| id = awk
| id-s = 10
| info = This user is an '''intermediate AWK''' programmer.
}}
|
| ||
{{userbox-level
| level = 3
| id = awk
| id-s = 10
| info = This user is an '''advanced AWK''' programmer.
}}
|
| ||
{{userbox-level
| level = 3b
| id = awk
| id-s = 10
| info = This user is an '''advanced AWK''' programmer.
}}
|
| ||
{{userbox-level
| level = 4
| id = awk
| id-s = 10
| info = This user is an '''expert AWK''' programmer.
}}
|
| ||
{{userbox-level
| level = 5
| id = awk
| id-s = 10
| info = This user is an '''expert AWK''' programmer.
}}
|
| ||
{{userbox-level
| level = 5b
| id = awk
| id-s = 10
| info = This user is an '''expert AWK''' programmer.
}}
|
|
Template Data
[edit]This template data section is incomplete. |
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Userbox-level in articles based on its TemplateData.
TemplateData for Userbox-level
This template can be used to quickly create a userbox for display on a user's user page without having to know HTML or Wikitable syntax.
Parameter | Description | Type | Status | |
---|---|---|---|---|
level | level | 0|1|2|3|4|5
| String | optional |
level-br | level-br | no description
| String | optional |
id | id | id text or image
| String | optional |
id-s | id-s | id text size in points
| String | optional |
info | info | info text and/or image | String | optional |
info-lh | info-lh | info text line CSS height
| String | optional |
info-op | info-op | info other CSS parameters | String | optional |
info-s | info-s | info text size in points
| String | optional |
nocat | nocat | block page category declarations
| String | optional |
usercategory | usercategory | user category (optional) | String | optional |
usercategory2 | usercategory2 | user category (optional) | String | optional |
usercategory3 | usercategory3 | user category (optional) | String | optional |
hidden-level | hidden-level | Like level, but does not append hyphen to the id of the userbox. | String | optional |
id-op | id-op | id other parameter (CSS) | Unknown | optional |
See also
[edit]Userbox metatemplates | |||
---|---|---|---|
Left |
| ||
Right |
| ||
Left and Right |
| ||
None |
| ||
See also: Module:Userbox, Wikipedia:Userboxes, Wikipedia:Userboxes/Userboxes |