Template:UBX: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 41: Line 41:
|text=Example
|text=Example
|bkgnd=#bbbbcc
|bkgnd=#bbbbcc
|sidetext=[[image:wiki.png|45px]]
|code=[[image:wiki.png|45px]]
|sidetextbkgnd=#ffffff
|codebkgnd=#ffffff
|textclr=#012345
|textclr=#012345
|border=blue
|border=blue

Revision as of 11:52, February 22, 2007

{{{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:

Smash Wiki's Logo. Example

Test your userboxes in the sandbox.