Template:Userbox: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
{{clear}}
{{clear}}
==Use==
==Use==
This template is used to create standard userboxes.  All fields are optional.  ''id'' refers to the small box on the left, and ''info'' refers to the bigger box on the right.
This template is used to create standard userboxes.  All fields are optional.  ''id'' refers to the small box on the left, and ''info'' refers to the bigger box on the right.  Measurements require units (try 'px' for absolute measurements and 'em' for measurements that should scale with font size).
<pre>{{Userbox
<pre>{{Userbox
|float    = left|right|none (default = left)
|float    = left|right|none (default = left)

Revision as of 15:21, July 23, 2011

id info

Use

This template is used to create standard userboxes. All fields are optional. id refers to the small box on the left, and info refers to the bigger box on the right. Measurements require units (try 'px' for absolute measurements and 'em' for measurements that should scale with font size).

{{Userbox
|float    = left|right|none (default = left)
|border-c = border color (default = id-c)
|border-s = border width in pixels (default = 1)
|id       = id content (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-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 content and border)
|info-lh  = info line height
}}

Abbreviated version:

{{Userbox|border color|id background color|id content|info content}}