Template:User rights/doc

< Template:User rights

Template parameters

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for User rights

<templatedata> {

"description": "Use this to create a userbox about user rights.",
"params": {
 "image": {
  "label": "image",
  "description": "File name image to show, excluding the prefix File:",
  "example": "Wikipedia Administrator.svg",
  "type": "wiki-file-name"
 },
 "logo-size": {
  "label": "logo size",
  "description": "width of image",
  "example": "35px",
  "default": "40px",
  "type": "string"
 },
 "RFA": {
  "label": "RFA",
  "description": "page to link to",
  "example": "WP:USER",
  "type": "wiki-page-name"
 },
 "rights": {
  "label": "rights",
  "description": "name of the user rights",
  "example": "admin",
  "type": "string",
  "required": true
 },
 "where": {
  "label": "where",
  "description": "name of the project",
  "example": "English Wikipedia",
  "type": "string",
  "required": true
 },
 "lang_code": {
  "label": "language code",
  "description": "2 letter language code used in URL to verify rights",
  "example": "ru",
  "default": "en",
  "type": "string"
 },
 "username": {
  "label": "username",
  "description": "username used in URL to verify rights",
  "example": "UPX",
  "default": "BASEPAGENAME",
  "type": "wiki-user-name"
 },
 "group": {
  "label": "group",
  "description": "user right name used in URL to verify rights",
  "example": "sysop",
  "type": "string"
 },
 "info-size": {
  "label": "info size",
  "description": "text size",
  "example": "7",
  "default": "8",
  "type": "number"
 },
 "nocat": {
  "label": "nocat",
  "description": "nocat, to be passed on to the next template",
  "example": "",
  "type": "string"
 },
 "category": {
  "label": "category",
  "description": "category to place the user page in",
  "example": "Wikipedia administrators",
  "type": "string"
 }
}

}</templatedata>

Usage

Markup Renders asLua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.Lua error: expandTemplate: template "Markup/row" does not exist.

See also

Template:User rights templates