Template:UBX: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
*'''text''' - The text at the right. | *'''text''' - The text at the right. | ||
*'''bkgnd''' - The background colour. | *'''bkgnd''' - The background colour. | ||
*'''code''' - The image/text at the left. '''If you're using images, they should always be about 45 | *'''code''' - The image/text at the left. '''If you're using images, they should always be about 45 pixels!''' (<nowiki>[[Image:Whatever.gif|45px]]</nowiki>) | ||
*'''codebkgnd''' - The background for the text at the left. | *'''codebkgnd''' - The background for the text at the left. | ||
*'''textclr''' - Text colour. | *'''textclr''' - Text colour. |
Revision as of 17:23, June 15, 2009
{{{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 pixels! ([[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:
Test your userboxes in the sandbox.