Template:Userbox/doc
From IdleOn MMO Wiki
This is a documentation subpage for Template:Userbox.
It contains usage information, categories and other content that is not part of the original template page.
| }}
Template:Lua The userbox template can be used to quickly create a userbox for display on a user page without having to know HTML or Wikitable syntax. These are usually used with Template:T, but it is not required.
Category:Userboxes is automatically included on template pages that use this template.
- All userboxes can be found here.
Skins are defined at Module:Userbox/Skins.
- Use Template:Orange to apply the old background.
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--> }}