Difference between revisions of "Template:SingleBasicBox"
(another field) |
(let's see if this makes a difference) |
||
Line 1: | Line 1: | ||
− | <div style="float: {{{float|right}}}"> | + | <div style="float: {{{float|right}}}; padding-left: 1px; padding-right: 1px"> |
{| cellpadding="5px" cellspacing="0px" width="{{{width|100%}}}" | {| cellpadding="5px" cellspacing="0px" width="{{{width|100%}}}" | ||
|style="padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px;" valign="top" | | |style="padding-top:0px; padding-right:0px; padding-left:0px; padding-bottom:0px;" valign="top" | |
Revision as of 19:34, 23 October 2008
|
Instructions
Example:
{{SingleBasicBox | body = enter text here }}
Result:
|
Example: Changing the background: You can use the RGB and Hex code also, besides simply green, blue, red or some other basic color.
{{SingleBasicBox | background-color = green | body = enter text here }}
Result:
|
Example: Changing Text color: Again you can use the RGB, Hex or simply the color name.
{{SingleBasicBox | background-color = green | body = enter text here | text-color = #E0EB26 }}
Result:
|
Example: Text alignment: Use left, right or center to change the text alignment (left by default).
{{SingleBasicBox | background-color = green | body = enter text here | text align = center | text-color = yellow }}
Result:
|
Example: Font Size: Use percentage to change the font size (normal by default).
{{SingleBasicBox | background-color = green | body = enter text here | text align = center | text-color = black | font-size = 150% }}
Result:
|
{{SingleBasicBox | background-color = green | body = enter text here | text align = center | text-color = black | font-size = 150% | width = 50% }}
Result:
|
Other Basic Boxes
Also see AboutUsBasicBox and AboutUsMultiColumnBox.