FANDOM


{{{lcontent}}} {{{mcontent}}} {{{rcontent}}}

Documentation Edit

This template is used to create user boxes. Parameter prefixes:

  • None: Table itself.
  • l: Left table cell
  • m: Middle table cell
  • r: Right table cell
Description Table Left Cell Middle/Main Cell Right Cell
Content (wiki code) - lcontent= mcontent= rcontent=
Cellspacing cellspacing = - - -
Border Width bwidth = - - -
Border Color bcolor = - - -
Background Color bg= lbg= mbg= rbg=
Padding - lpadding= mpadding= rpadding=
Text Color - lcolor= mcolor= rcolor=
Font Size - lsize= msize= rsize=
Custom (other codes) custom= lcustom= mcustom= rcustom=
  • Start the new userbox with "|infobox = {{{1|}}}". Userbox has two variants; for use in the main section of the userpage or in an infobox. When the user specifies any value (like {{User-Skyrim|true}}) the infobox variant will be used.
  • Always include the units (width: px, pt, em, %; color: #).
  • The height should always be 60px for consistency and good stacking. You can fine-tune the height using the image height (or width) or the padding.
  • For gradients or rounded corners, there are the Custom fields. Use the template(s) as value.
Syntax
Userbox usage
Complete Left Right Default values
{{Userbox
|cellspacing = 
|bwidth      = 
|bcolor      = 
|bg          = 
|custom      = 
|mcontent    = 
|mbg         = 
|mpadding    = 
|mcolor      = 
|msize       = 
|mcustom     = 
|lcontent    = 
|lbg         = 
|lpadding    = 
|lcolor      = 
|lsize       = 
|lcustom     = 
|rcontent    = 
|rbg         = 
|rpadding    = 
|rcolor      = 
|rsize       = 
|rcustom     = 
}}
{{Userbox
|cellspacing = 
|bwidth      = 
|bcolor      = 
|bg          = 
|custom      = 
|mcontent    = 
|mbg         = 
|mpadding    = 
|mcolor      = 
|msize       = 
|mcustom     = 
|lcontent    = 
|lbg         = 
|lpadding    = 
|lcolor      = 
|lsize       = 
|lcustom     = 
}}
{{Userbox
|cellspacing = 
|bwidth      = 
|bcolor      = 
|bg          = 
|custom      = 
|mcontent    = 
|mbg         = 
|mpadding    = 
|mcolor      = 
|msize       = 
|mcustom     = 
|rcontent    = 
|rbg         = 
|rpadding    = 
|rcolor      = 
|rsize       = 
|rcustom     = 
}}
{{Userbox
|cellspacing = 0
|bwidth      = 2px
|bcolor      = #6B6A6A
|bg          = #111111
|custom      = -
|mcontent    = -
|mbg         = see bg
|mpadding    = 3px
|mcolor      = white
|msize       = 90%
|mcustom     = -
|lcontent    = -
|lbg         = see bg
|lpadding    = 3px
|lcolor      = white
|lsize       = 100%
|lcustom     = -
|rcontent    = -
|rbg         = see bg
|rpadding    = 3px
|rcolor      = white
|rsize       = 100%
|rcustom     = -
}}
Samples
New version
Current version
Matrix Screen This TESWikian edits in Source Mode
Matrix Screen This TESWikian edits in Source Mode.

PC Player This TESWikian plays The Elder Scrolls on PC.
PC Player This TESWikian plays The Elder Scrolls on PC.
PC Player This TESWikian plays The Elder Scrolls on PC.

Grammar Nazi This TESWikian is a Grammar Nazi
Grammar Nazi This TESWikian is a
Grammar Nazi
Grammar Nazi This TESWikian is a Grammar Nazi.


Community content is available under CC-BY-SA unless otherwise noted.