Difference between revisions of "Template:SingleBasicBox"
(formatting) |
Asad Saeed (talk | contribs) (Information site moved to Template:SingleBasicBox: Moved back to original Template page. ) |
||
(14 intermediate revisions by 7 users not shown) | |||
Line 4: | Line 4: | ||
|{{{body}}} | |{{{body}}} | ||
|} | |} | ||
− | |} | + | |}<noinclude> |
− | |||
− | <noinclude> | ||
== Instructions == | == Instructions == | ||
Line 57: | Line 55: | ||
</pre></div> | </pre></div> | ||
{{Clear}} | {{Clear}} | ||
− | '''Result:''' | + | {{font|135%|'''Result:'''}} |
{{Clear}} | {{Clear}} | ||
Line 78: | Line 76: | ||
</pre></div> | </pre></div> | ||
{{Clear}} | {{Clear}} | ||
− | '''Result:''' | + | {{font|135%|'''Result:'''}} |
{{Clear}} | {{Clear}} | ||
{{SingleBasicBox | {{SingleBasicBox | ||
Line 101: | Line 99: | ||
</pre></div> | </pre></div> | ||
{{Clear}} | {{Clear}} | ||
− | '''Result:''' | + | {{font|135%|'''Result:'''}} |
{{Clear}} | {{Clear}} | ||
Line 111: | Line 109: | ||
| font-size = 150% | | font-size = 150% | ||
}} | }} | ||
+ | {{Clear}} | ||
+ | == Other Basic Boxes == | ||
+ | Also see [[AboutUsBasicBox]] and [[AboutUsMultiColumnBox]]. | ||
− | |||
− | |||
[[Category:AboutUsTemplateToolbox]] | [[Category:AboutUsTemplateToolbox]] | ||
+ | </noinclude> |
Latest revision as of 08:30, 6 February 2010
|
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:
|
Other Basic Boxes
Also see AboutUsBasicBox and AboutUsMultiColumnBox.