Template:User rights
| This template is used on approximately 4,300 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
Template parameters
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for User rights
Use this to create a userbox about user rights.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| image | image | File name image to show, excluding the prefix File:
| File | optional |
| logo size | logo-size | width of image
| String | optional |
| RFA | RFA | page to link to
| Page name | optional |
| temporary | temporary | includes 'temporary' before rights
| String | required |
| rights | rights | name of the user rights
| String | required |
| where | where | name of the project
| String | required |
| language code | lang_code | 2 letter language code used in URL to verify rights
| String | optional |
| username | username | username used in URL to verify rights
| User | optional |
| group | group | user right name used in URL to verify rights
| String | optional |
| info size | info-s info-size | info box text size
| Number | optional |
| nocat | nocat | disable automatic page category declarations (see BP:NOCAT)
| String | optional |
| category | category | category to place the user page in
| String | optional |
| logo color | id-c | Left box background color
| String | optional |
Usage
This template shows that a user has the account creator right.
| Markup | Renders as | ||
|---|---|---|---|
{{User rights|rights=[[Bharatpedia:User access levels#Administrators|admin]]|where=English Bharatpedia}}
|
|||
{{User rights
|image=Bharatpedia Administrator.svg
|rights=administrator
|where=[[Russian Bharatpedia]]
|group=sysop
|lang_code=ru}}
|
| ||
{{User rights
|image=Bharatpedia Administrator.svg
|RFA={{{RFA|}}}
|rights=[[Bharatpedia:User access levels#Administrators|admin]]
|where=[[English Bharatpedia]]
|lang_code={{{lang_code|}}}
|username={{{username|}}}
|group=sysop
|nocat={{{nocat|}}}
|category=Bharatpediaadministrators}}
|
| ||
See also
- Help:Interwiki linking – for setting correct
{{{lang_code}}}