Template:User rights/sandbox
Appearance
This is the template sandbox page for Template:User rights (diff). See also the companion subpage for test cases. |
This template is used on approximately 5,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
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:User rights in articles based on its 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}}}