Difference between revisions of "Template:Ubx"

From YTMND
Jump to: navigation, search
(Example)
Line 27: Line 27:
 
  | text          = <center>Hey w00t!</center>
 
  | text          = <center>Hey w00t!</center>
 
  | bkgnd        = #bbbbcc
 
  | bkgnd        = #bbbbcc
  | sidetext      = [[image:wiki.png|45px]]!
+
  | sidetext      = [[image:wiki.gif|45px]]!
 
  | sidetextbkgnd = #ffffff
 
  | sidetextbkgnd = #ffffff
 
  | textclr      = #012345
 
  | textclr      = #012345
Line 35: Line 35:
 
  | text          = <center>Hey w00t!</center>
 
  | text          = <center>Hey w00t!</center>
 
  | bkgnd        = #bbbbcc
 
  | bkgnd        = #bbbbcc
  | sidetext      = [[image:wiki.png|45px]]!
+
  | sidetext      = [[image:wiki.gif|45px]]!
 
  | sidetextbkgnd = #ffffff
 
  | sidetextbkgnd = #ffffff
 
  | textclr      = #012345
 
  | textclr      = #012345

Revision as of 09:39, December 15, 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.gif|45px]]!
 | sidetextbkgnd = #ffffff
 | textclr       = #012345
 | border        = blue
}}
would give you:
Wiki.gif!
Hey w00t!

Test your userboxes in the sandbox.