Difference between revisions of "Template:Ubx"

From YTMND
Jump to: navigation, search
m
Line 1: Line 1:
 +
<div style="float: left; border: solid {{{border|black}}} 1px; margin: 1px;">
 
{|cellspacing="0" style="width: 238px; background: {{{bkgnd}}};"
 
{|cellspacing="0" style="width: 238px; background: {{{bkgnd}}};"
 
|style="width: 45px; height: 45px; background: {{{sidetextbkgnd}}}; text-align: center;"| '''<big>{{{sidetext}}}</big>'''
 
|style="width: 45px; height: 45px; background: {{{sidetextbkgnd}}}; text-align: center;"| '''<big>{{{sidetext}}}</big>'''
Line 11: Line 12:
 
  | sidetextbkgnd =  
 
  | sidetextbkgnd =  
 
  | textclr      =  
 
  | textclr      =  
 +
| border        =
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 
===Parameters===
 
===Parameters===
Line 18: Line 20:
 
*'''Sidetextbkgnd''' - The background for the text at the left.
 
*'''Sidetextbkgnd''' - The background for the text at the left.
 
*'''Textclr''' - Text colour.
 
*'''Textclr''' - Text colour.
 +
*'''Border''' - Border colour
 
==Example==
 
==Example==
 
{{ ubx
 
{{ ubx

Revision as of 11:43, October 1, 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

File:Wiki.png!
Hey w00t!