Template:Userbox

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
id info

Purpose

This template is used to create userboxes.

Usage

{{userbox
| bodyclass     =
| border-c      = 
| border-s      = 
| float         = 
| id-class      =
| id            = 
| id-a          = 
| id-c          = 
| id-fc         = 
| id-h          =
| id-lh         = 
| id-op         = 
| id-p          = 
| id-s          = 
| id-w          = 
| info-class    = 
| info          = 
| info-a        = 
| info-c        = 
| info-fc       = 
| info-lh       = 
| info-op       = 
| info-p        = 
| info-s        = 
}}
  • bodyclass — Defines an HTML class for the entire box (Optional.)
  • border-c — border color (Optional. Default: id-c)
  • border-s — border width in pixels (Optional. Default: 1)
  • float — position to float userbox (values: left (Optional. Default: none))
  • id-class — Used to define a HTML class for the id (Optional.)
  • id — id image and/or text (suitable image size would be x45px)
  • id-a — id horizontal alignment (values: left/center/right/justify) (Optional. Default: center)
  • id-c — id background color (Optional. Default: #d0d0d0)
  • id-fc — id font color (Optional. Default: black)
  • id-h — id box height in pixels (Optional. Default: 45)
  • id-lh — id line height (Optional. Default: 1.25em)
  • id-op — id other CSS parameters (Optional.)
  • id-p — id cell padding (Optional. Default: 0 1px 0 0)
  • id-s — id text size in points (Optional. Default: 14)
  • id-w — id box width in pixels (Optional. Default: 45)
  • info-class — Defines an HTML class for info (Optional.)
  • info — info text and/or image
  • info-a — info horizontal alignment (values: left/center/right/justify) (Optional. Default: left)
  • info-c — info background color (Optional. Default: #e0e0e0)
  • info-fc — info font color (Optional. Default: black)
  • info-lh — info line height (Optional. Default: 1.25em)
  • info-op — info other CSS parameters (Optional.)
  • info-p — info padding (Optional. Default: 0 4px 0 4px)
  • info-s — info text size in points (Optional. Default: 8)

Most of these parameters can be left at their default values. But they're there in case they need to be changed. Remove parameters you don't change.