Template:Userbox-level
No description yet available.
Usage
{{Userbox-level
|level =
|id =
|info =
|usercategory =
|nocat =
}}
Template parameters
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id | id image or text | Line | required |
id-op | id-op | id other CSS parameters | String | optional |
id-s | id-s | id text size in points
| Number | optional |
info | info | info text or image | Content | required |
info-a | info-a | info horizontal alignment left/center/right/justify
| String | optional |
info-lh | info-lh | info line height
| String | optional |
info-op | info-op | info other CSS parameters | String | optional |
info-s | info-s | info text size in points
| Number | optional |
Level | level | Number, “N”, or “x” | String | required |
Level Line Break? | level-br | Use <br/> instead of “-” in the ID field | Boolean | optional |
No Category? | nocat | block page category declarations (see WP:NOCAT) | Boolean | optional |
User Category 1 | usercategory | String | suggested | |
User Category 2 | usercategory2 | String | optional | |
User Category 3 | usercategory3 | String | optional |
Additional information
The template is intended to be used in the following namespaces: the User namespace
The template is intended to be used by the following user groups: all users
Relies on:
{{Userbox}}
Example and selftest
{{userbox-level
| level = 3
| id = HTML
| id-s = 9
| info = This user is an advanced HTML user.
| usercategory = User html-3
}}
HTML-3 | This user is an advanced HTML user. |