ਫਰਮਾ:User rights
ਦਿੱਖ
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 Template:User rights based on its TemplateData.
TemplateData for User rights
Use this to create a userbox about user rights.
| ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
|---|---|---|---|---|
| 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
| ਵਰਤੋਂਕਾਰ | 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}}}