Template:Userbox/doc

From IdleOn MMO Wiki
< Template:Userbox
Revision as of 12:02, 6 February 2023 by Nano (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{Userbox
|skin            = <!-- use a defined skin (optional) --><!--
                   IMPORTANT: When creating a userbox template, always include:
                   |skin = {{{skin|}}} -->

|float           = <!--[left|right|none] (default=left)-->
|border-width    = <!--border width in pixels (default=3)-->
|border-color    = <!--border color (default=#292929)-->
|height          = <!--user box height in pixels (default=45)-->
|class           = <!--any classes for the userbox (default=none)-->

|id              = <!--id image and/or text-->
|id-width        = <!--id box width in pixels (default=90)-->
|id-color        = <!--id font color (default=white)-->
|id-background   = <!--id background color (default=transparent)-->
|id-align        = <!--id horizontal alignment [left|center|right|justify] (default=center)-->
|id-size         = <!--id text size in pixels (number only) (default=14)-->
|id-padding      = <!--id padding (default=0 .9em)-->
|id-css          = <!--other CSS parameters for id-->

|info            = <!--info text and/or image-->
|info-color      = <!--info font color (default=black)-->
|info-background = <!--info background color (default=#EEE)-->
|info-align      = <!--info horizontal alignment [left|center|right|justify] (default=left)-->
|info-size       = <!--info text size in pixels (number only) (default=12)-->
|info-padding    = <!--info padding (default=0 .7em)-->
|info-css        = <!--other CSS parameters for info-->
}}