Difference between revisions of "Template:Ubx"
From YTMND
(→Example) |
(→Example) |
||
| Line 23: | Line 23: | ||
*'''Border''' - Border colour | *'''Border''' - Border colour | ||
==Example== | ==Example== | ||
| + | <pre><nowiki> | ||
| + | {{ ubx | ||
| + | | text = <center>Hey w00t!</center> | ||
| + | | bkgnd = #bbbbcc | ||
| + | | sidetext = [[image:wiki.png|45px]]! | ||
| + | | sidetextbkgnd = #ffffff | ||
| + | | textclr = #012345 | ||
| + | | border = blue | ||
| + | }}</nowiki></pre> would give you: | ||
{{ ubx | {{ ubx | ||
| text = <center>Hey w00t!</center> | | text = <center>Hey w00t!</center> | ||
Revision as of 14:09, October 20, 2006
| {{{sidetext}}} | {{{text}}} |
Code
{{ ubx
| text =
| bkgnd =
| sidetext =
| sidetextbkgnd =
| textclr =
| border =
}}
Parameters
- Text - The text at the right.
- Bkgnd - The background colour.
- Sidetext - The image/text at the left. If you're using images, they should always be about 45 pixles! ([[Image:Whatever.gif|45px]])
- Sidetextbkgnd - The background for the text at the left.
- Textclr - Text colour.
- Border - Border colour
Example
{{ ubx
| text = <center>Hey w00t!</center>
| bkgnd = #bbbbcc
| sidetext = [[image:wiki.png|45px]]!
| sidetextbkgnd = #ffffff
| textclr = #012345
| border = blue
}} would give you:
| File:Wiki.png! | |
Test your userboxes in the sandbox.