Template:User rights/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:User rights. It contains usage information, categories and other content that is not part of the original template page. |
This is a shared documentation page.
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. |
Template parameters
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
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 WP: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=[[Wikipedia:User access levels#Administrators|admin]]|where=English Wikipedia}} |
|||
{{User rights |image=Wikipedia Administrator.svg |rights=administrator |where=[[Russian Wikipedia]] |group=sysop |lang_code=ru}} |
| ||
{{User rights |image=Wikipedia Administrator.svg |RFA={{{RFA|}}} |rights=[[Wikipedia:User access levels#Administrators|admin]] |where=[[English Wikipedia]] |lang_code={{{lang_code|}}} |username={{{username|}}} |group=sysop |nocat={{{nocat|}}} |category=Wikipedia administrators}} |
| ||
See also
- Help:Interwiki linking - for setting correct
{{{lang_code}}}