Difference between revisions of "Template:Userbox"

From Nookipedia, the Animal Crossing wiki
m (Protected "Template:Userbox": Editing could be fatal ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
Line 1: Line 1:
<div style="float:{{{float|left}}}; border:{{{border-width|{{{border-s|1}}}}}}px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px;">
+
<div style="float:{{{float|left}}}; border:1px solid {{{border-color|{{{1|{{{border-c|{{{id-c|#999}}}}}}}}}}}}; margin:1px;">
 
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};"
 
{| cellspacing="0" style="width:238px; background:{{{info-background|{{{2|{{{info-c|#EEE}}}}}}}}};"
 
| style="width:45px; height:45px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}};" | '''{{{logo|{{{3|{{{id|id}}}}}}}}}
 
| style="width:45px; height:45px; background:{{{logo-background|{{{1|{{{id-c|#DDD}}}}}}}}}; text-align:center; font-size:{{{logo-size|{{{5|{{{id-s|14}}}}}}}}}pt; color:{{{logo-color|{{{id-fc|black}}}}}};" | '''{{{logo|{{{3|{{{id|id}}}}}}}}}
Line 15: Line 15:
 
|info-c  = info background colour
 
|info-c  = info background colour
 
|info-fc  = info font colour
 
|info-fc  = info font colour
|info-s  = info text size
+
|border-c = border color
|border-c = box color
 
|border-s = border width (in pixels)
 
 
}}
 
}}
 
</pre></code>
 
</pre></code>

Revision as of 13:51, May 18, 2010

id info


Usage

{{Userbox
|id       = id text or image
|id-c     = id background colour
|id-fc    = id font colour
|id-s     = id text size
|info     = info text
|info-c   = info background colour
|info-fc  = info font colour
|border-c = border color
}}

Additional notes

  • It is suggested that the size of any images in the id box is limited to 40 pixels.
  • For a list of colours and the Hex codes for them, see Help:color.
  • If you are looking for a list of userboxes, please go here.