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.

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 WikiQueer:WikiProject Microformats for more information on adding microformat information to WikiQueer.