Actions

Template

Template:UBXLevel/doc

From Screamer Wiki

Revision as of 07:37, 9 November 2020 by TabbyGarf (talk | contribs) (Created page with "{{Documentation subpage}} {{high-use| 89242 }} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === <pre> {{userbox-level | level = 0|1|2|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Script error: No such module "Message box". Script error: No such module "Message box".

Usage

{{userbox-level
| level   = 0|1|2|3|4|5 (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)
}}

Also note that the 0, 3 & 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

{{userbox-level
| id    = awk
| info  = This user is an '''AWK''' user. 
}}
awkThis user is an AWK user.
{{userbox-level
| level = 1
| id    = awk
| id-s  = 10
| info  = This user is a '''beginning AWK''' programmer.
}}
awk-1This user is a beginning AWK programmer.
{{userbox-level
| level = 2
| id    = awk
| id-s  = 10
| info  = This user is an '''intermediate AWK''' programmer.
}}
awk-2This user is an intermediate AWK programmer.
{{userbox-level
| level = 3
| id    = awk
| id-s  = 10
| info  = This user is an '''advanced AWK''' programmer.
}}
awk-3This user is an advanced AWK programmer.
{{userbox-level
| level = 3b
| id    = awk
| id-s  = 10
| info  = This user is an '''advanced AWK''' programmer.
}}
awk-3This user is an advanced AWK programmer.
{{userbox-level
| level = 4
| id    = awk
| id-s  = 10
| info  = This user is an '''expert AWK''' programmer.
}}
awk-4This user is an expert AWK programmer.
{{userbox-level
| level = 5
| id    = awk
| id-s  = 10
| info  = This user is an '''expert AWK''' programmer.
}}
awk-5This user is an expert AWK programmer.
{{userbox-level
| level = 5b
| id    = awk
| id-s  = 10
| info  = This user is an '''expert AWK''' programmer.
}}
awk-5This user is an expert AWK programmer.

Template Data

Template:Notice Template:TemplateData header

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.

Template parameters

ParameterDescriptionTypeStatus
levellevel

0|1|2|3|4|5

Default
14
Stringoptional
level-brlevel-br

Default
14
Stringoptional
idid

id text or image

Default
14
Stringoptional
id-sid-s

id text size in points

Default
14
Stringoptional
infoinfo

info text and/or image

Default
Stringoptional
info-lhinfo-lh

info text line CSS height

Default
1.25em
Stringoptional
info-opinfo-op

info other CSS parameters

Default
Stringoptional
info-sinfo-s

info text size in points

Default
8
Stringoptional
nocatnocat

block page category declarations

Default
false
Stringoptional
usercategoryusercategory

user category (optional)

Default
Stringoptional
usercategory2usercategory2

user category (optional)

Default
Stringoptional
usercategory3usercategory3

user category (optional)

Default
Stringoptional

See also

Template:UBT