ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:User rights/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

This is a shared documentation page.


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.

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
imageimage

File name image to show, excluding the prefix File:

Example
Wikipedia Administrator.svg
Fileoptional
logo sizelogo-size

width of image

ਮੂਲ ਰੂਪ
40px
Example
35px
Stringoptional
RFARFA

page to link to

Example
WP:USER
Page nameoptional
temporarytemporary

includes 'temporary' before rights

Example
temporary=yes, or temporary=y
Stringrequired
rightsrights

name of the user rights

Example
[[Wikipedia:User access levels#Administrators|admin]]
Stringrequired
wherewhere

name of the project

Example
Russian Wikipedia
Stringrequired
language codelang_code

2 letter language code used in URL to verify rights

ਮੂਲ ਰੂਪ
en
Example
ru
Stringoptional
usernameusername

username used in URL to verify rights

ਮੂਲ ਰੂਪ
BASEPAGENAME
Example
UPX
Useroptional
groupgroup

user right name used in URL to verify rights

Example
sysop
Stringoptional
info sizeinfo-s info-size

info box text size

ਮੂਲ ਰੂਪ
8
Example
7
Numberoptional
nocatnocat

disable automatic page category declarations (see WP:NOCAT)

Example
true
Stringoptional
categorycategory

category to place the user page in

Example
Wikipedia administrators
Stringoptional
logo colorid-c

Left box background color

ਮੂਲ ਰੂਪ
#DDD
Example
#D0D0D0
Stringoptional

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}}
This user has admin rights on the English Wikipedia. (verify)
{{User rights
|image=Wikipedia Administrator.svg
|rights=administrator
|where=[[Russian Wikipedia]]
|group=sysop
|lang_code=ru}}
This user has administrator rights on the Russian Wikipedia. (verify 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}}
This user has admin rights on the English Wikipedia. (verify)

See also