Template:Userbox/doc

This template can be used to quickly create a userbox for display on a user's user page without having to know HTML or Wikitable syntax.

Nonfree images may not be displayed in userboxes, and are subject to summary removal by any editor without any notice being required.

Sandbox Reminder:

 * Always practice or experiment in the Template:Userbox/sandbox or Template:Userbox/testcases
 * Once you are satisfied: Copy your code!
 * In your Browser's address bar, change "sandbox" or "testcases" to the name of your new Userbox.
 * Example:
 * CHANGE http://en.wikipedia.org/wiki/Template:Userbox/sandbox
 * TO http://en.wikipedia.org/wiki/Template:Userbox/WhateverYourNewBoxNameIs
 * If the name of your new Userbox is taken, create a different name.
 * You will be prompted to Start or Create your new Template Userbox!
 * Paste your code into the space provided.

Usage



 * All parameters are optional
 * Images should normally be scaled to x45px or less.

Most HTML-based tables use only a handful of these attributes. The following subset can be used to quickly convert an HTML userbox into the format used here:

Microformats

 * bodyclass : This parameter is inserted into the "class" attribute for the userbox as a whole.
 * info-class : This parameter is inserted into the "class" attribute for the info component.

This template supports the addition of microformat information. This is done by adding "class" attributes to various data cells, indicating what kind of information is contained within. To flag a userbox as containing hCard information about a person, for example, add the following parameter:


 * bodyclass    = vcard

or


 * info-class   = vcard

then (for example):


 * title        = …the books of Iain Banks

...and so forth.

Examples include:


 * User:UBX/Iain Banks - person
 * - group (WikiProject Microformats)
 * - place (Birmingham)

See WikiProject Microformats for more information on adding microformat information to Wikipedia.

Template Data
{ "description": "A template to show the review scores, aggregator scores, and awards given to a title.", "params": { "bodyclass": { "label": "bodyclass", "description": "Adds an HTML class attribute to the entire template's HTML table, to allow for styling, emission of microformats, etc.", "type": "string", "default": "id-c", "required": false },"border-c": { "label": "border-c", "description": "border color", "type": "string", "default": "", "required": false },"border-s": { "label": "border-s", "description": "border width in pixels", "type": "string", "default": "1", "required": false },"float": { "label": "float", "description": "left|right|none", "type": "string", "default": "left", "required": false },"id": { "label": "id", "description": "id image and/or text", "type": "string", "default": "x45px", "required": false },"id-a": { "label": "id-a", "description": "", "type": "string", "default": "", "required": false },"id-c": { "label": "id-c", "description": "", "type": "string", "default": "", "required": false },"id-fc": { "label": "id-fc", "description": "", "type": "string", "default": "", "required": false },"id-h": { "label": "id-h", "description": "", "type": "string", "default": "", "required": false },"id-lh": { "label": "id-lh", "description": "", "type": "string", "default": "", "required": false },"id-op": { "label": "id-op", "description": "", "type": "string", "default": "", "required": false },"id-p": { "label": "id-p", "description": "", "type": "string", "default": "", "required": false },"id-s": { "label": "id-s", "description": "", "type": "string", "default": "", "required": false },"id-w": { "label": "id-w", "description": "", "type": "string", "default": "", "required": false },"info-class": { "label": "info-class", "description": "", "type": "string", "default": "", "required": false },"info": { "label": "info", "description": "", "type": "string", "default": "", "required": false },"info-a": { "label": "info-a", "description": "", "type": "string", "default": "", "required": false },"info-c": { "label": "info-c", "description": "", "type": "string", "default": "", "required": false },"info-fc": { "label": "info-fc", "description": "", "type": "string", "default": "", "required": false },"info-lh": { "label": "info-lh", "description": "", "type": "string", "default": "", "required": false },"info-op": { "label": "info-op", "description": "", "type": "string", "default": "", "required": false },"info-p": { "label": "info-p", "description": "", "type": "string", "default": "", "required": false },"info-s": { "label": "info-s", "description": "", "type": "string", "default": "", "required": false },"nocat": { "label": "nocat", "description": "", "type": "string", "default": "", "required": false },"": {   "label": "", "description": "", "type": "string", "default": "", "required": false },"usercategory": { "label": "usercategory", "description": "user category (optional)", "type": "string", "default": "", "required": false },"usercategory2": { "label": "usercategory2", "description": "user category (optional)", "type": "string", "default": "", "required": false },"usercategory3": { "label": "usercategory3", "description": "user category (optional)", "type": "string", "default": "", "required": false } }}