Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Userbox-level/doc

From Wikipedia, the free encyclopedia

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)
}}<noinclude>
{{Documentation}}
</noinclude>

For templates that represent ISO 639 language codes, use this automated documentation (see the source of {{User sr}} for an example):

<noinclude>
{{Documentation|Template:User x}}
</noinclude>

Levels 0, 3, 4, and 5 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. 
}}
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 = 
| hidden-level = 1
| id    = awk1
| id-s  = 10
| info  = This user is a '''beginning AWK''' programmer.
}}
awk1This 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 = 4b
| 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

[edit]
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.

Template parameters

ParameterDescriptionTypeStatus
levellevel

0|1|2|3|4|5

Default
14
Stringoptional
level-brlevel-br

no description

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

Stringoptional
info-lhinfo-lh

info text line CSS height

Default
1.25em
Stringoptional
info-opinfo-op

info other CSS parameters

Stringoptional
info-sinfo-s

info text size in points

Default
8
Stringoptional
nocatnocat

block page category declarations

Default
false
Stringoptional
usercategoryusercategory

user category (optional)

Stringoptional
usercategory2usercategory2

user category (optional)

Stringoptional
usercategory3usercategory3

user category (optional)

Stringoptional
hidden-levelhidden-level

Like level, but does not append hyphen to the id of the userbox.

Stringoptional
id-opid-op

id other parameter (CSS)

Unknownoptional

See also

[edit]
Userbox metatemplates
Left
Right
Left and Right
None

See also: Module:Userbox, Wikipedia:Userboxes, Wikipedia:Userboxes/Userboxes