Template:UBX

From SmashWiki, the Super Smash Bros. wiki
Revision as of 12:43, February 10, 2021 by PorpleBot (talk | contribs) (Text replacement - "\[\[(:)?Image:" to "[[$1File:")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
{{{code}}} {{{text}}}

This template makes creating custom userboxes easier.

Code

{{UBX
| text      = 
| bkgnd     = 
| code      = 
| codebkgnd = 
| textclr   = 
| border    = 
| float     = 
| align     = 
}}

Parameters

  • text - The text at the right.
  • bkgnd - The background colour.
  • code - The image/text at the left. If you're using images, they should always be about 45 pixels! ([[File:Whatever.gif|45px]])
  • codebkgnd - The background for the text at the left.
  • textclr - Text colour.
  • border - Border colour.
  • float - In what direction the box should float, right by default
  • align - Text align

Example

{{UBX
| text      = Example 
| bkgnd     = #bbbbcc 
| code      = [[File:Wiki.png|45px]] 
| codebkgnd = #ffffff 
| textclr   = #012345 
| border    = blue 
| float     = left 
| align     = right 
}}

would give you:

Smash Wiki's Logo. Example

Test your userboxes in the sandbox.