Template:UBX: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 48: Line 48:
|align=right
|align=right
}}
}}
Test your userboxes in the [[SmashWiki:Sandbox|sandbox]].</noinclude>
Test your userboxes in the [[SmashWiki:Sandbox|sandbox]].
 
[[Category:User page templates| {{PAGENAME}}]]</noinclude>

Revision as of 02:39, February 3, 2008

{{{code}}} {{{text}}}

This template makes it possible to create 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 pixles! ([[Image: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      = [[Image:Wiki.png|45px]] 
| codebkgnd = #ffffff 
| textclr   = #012345 
| border    = blue 
| float     = left 
| align     = right 
}}

would give you:

Wiki.png Example

Test your userboxes in the sandbox.