Template:Userbox

From OpenTTD
Jump to: navigation, search
id info

Usage

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.

{{userbox
| float    = left|right|none (default = left)
| border-c = border color (default = id-c)
| border-s = border width in pixels (default = 1)
| id       = id text or image
| id-c     = id background color
| id-fc    = id font color
| id-s     = id text size
| id-p     = id cell padding space
| id-lh    = id line height 
| id-op    = id other parameter (CSS)
| id-w     = id box width
| id-h     = id box height
| info     = info text
| info-c   = info background color
| info-fc  = info font color
| info-s   = info text size
| info-p   = info padding (distance between cell contents & cell border)
| info-lh  = info line height (or distance in between text lines)
| info-op  = info other (CSS) parameter(s)
| nocat    = {{{nocat|}}} - when 'true', doesn't categorize the user
| usercategory  = user category (optional)
| usercategory2 = user category (optional)
}}
  • Text size is assumed to be in px.
  • All parameters are optional

See Also

Personal tools