Template:User rights/doc
Appearance
From Meta, a Wikimedia project coordination wiki
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.
It contains usage information, categories, and other content that is not part of the original template page.
Template parameters
[edit ]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.
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 |
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-size | text size
| Number | optional |
nocat | nocat | nocat, to be passed on to the next template
| String | optional |
category | category | category to place the user page in
| String | optional |
Usage
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 Template:Param