Difference between revisions of "Template:Ubx"

From YTMND
Jump to: navigation, search
 
Line 3: Line 3:
 
|style="font-size: 8pt; padding: 4pt; line-height: 1.25em; color: {{{textclr|black}}};"| {{{text}}}
 
|style="font-size: 8pt; padding: 4pt; line-height: 1.25em; color: {{{textclr|black}}};"| {{{text}}}
 
|}<noinclude>
 
|}<noinclude>
 +
__NOTOC__
 
==Code==
 
==Code==
 
<pre><nowiki>{{ ubx
 
<pre><nowiki>{{ ubx
  | text          =
+
  | text          =  
  | bkgnd        =
+
  | bkgnd        =  
  | sidetext      =
+
  | sidetext      =  
  | sidetextbkgnd =
+
  | sidetextbkgnd =  
  | textclr      =
+
  | textclr      =  
 
}}</nowiki></pre>
 
}}</nowiki></pre>
 +
===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!''' (<nowiki>[[Image:Whatever.gif|45px]]</nowiki>)
 +
*'''Sidetextbkgnd''' - The background for the text at the left.
 +
*'''Textclr''' - Text colour.
 
==Example==
 
==Example==
 
{{ ubx
 
{{ ubx
  | text          = This is a test
+
  | text          = <center>Hey w00t!</center>
  | bkgnd        = #666666
+
  | bkgnd        = #bbbbcc
  | sidetext      = [[image:wiki.PNG]] !
+
  | sidetext      = [[image:wiki.png|45px]]!
  | sidetextbkgnd = #efefef
+
  | sidetextbkgnd = #ffffff
 
  | textclr      = #012345
 
  | textclr      = #012345
 
}}</noinclude>
 
}}</noinclude>

Revision as of 06:59, September 26, 2006

{{{sidetext}}} {{{text}}}

Code

{{ ubx
 | text          = 
 | bkgnd         = 
 | sidetext      = 
 | sidetextbkgnd = 
 | textclr       = 
}}

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.

Example

File:Wiki.png!
Hey w00t!