Jump to content

Template:Userbox-level

From Meta, a Wikimedia project coordination wiki
{{{id}}}{{{info}}}
Template documentation

Usage

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for Userbox-level

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Levellevel

Number, “N”, or “x”

Suggested values
0 0a 0b 0.5 1 2 3 3a 3b 4 5 5a 5b N x
Stringrequired
Level Line Break?level-br

Use <br/> instead of “-” in the ID field

Booleanoptional
IDid

id image or text

Linerequired
ID – Text Sizeid-s

id text size in points

Default
14
Numberoptional
ID – Other CSS Parametersid-op

id other CSS parameters

Stringoptional
Infoinfo

info text or image

Contentrequired
Info – Text Sizeinfo-s

info text size in points

Default
8
Numberoptional
Info – CSS line-heightinfo-lh

info line height

Default
1.25em
Stringoptional
Info – Horizontal Alignmentinfo-a

info horizontal alignment left/center/right/justify

Suggested values
left center right justify
Default
left
Stringoptional
Info – Other CSS Parametersinfo-op

info other CSS parameters

Stringoptional
User Category 1usercategory

user category (optional)

Stringoptional
User Category 2usercategory2

user category (optional)

Stringoptional
User Category 3usercategory3

user category (optional)

Stringoptional
No Category?nocat

block page category declarations (see WP:NOCAT)

Booleanoptional

Examples

[edit]
|level= Result
|level=0
lvl-0{{{info}}}
|level=0a
lvl-0{{{info}}}
|level=0b
lvl-0{{{info}}}
|level=0.5
lvl-0.5{{{info}}}
|level=1
lvl-1{{{info}}}
|level=2
lvl-2{{{info}}}
|level=3
lvl-3{{{info}}}
|level=3a
lvl-3{{{info}}}
|level=3b
lvl-3{{{info}}}
|level=4
lvl-4{{{info}}}
|level=5
lvl-5{{{info}}}
|level=5a
lvl-5{{{info}}}
|level=5b
lvl-5{{{info}}}
|level=N
lvl-N{{{info}}}
|level=x
lvl-x{{{info}}}