Difference between revisions of "Template:Box"
From King Arthur's Gold Wiki
(Created page with "<div style="width: 70%; border: {{{border|1px solid #ddd}}}; background-color: {{{background-color|#f8f8f8}}}; margin: 1em auto; text-align: center; padding:0.5em;"> {{{text|Text...") |
|||
Line 1: | Line 1: | ||
− | <div style="width: 70%; border: {{{border|1px solid #ddd}}}; background-color: {{{background-color|#f8f8f8}}}; margin: 1em auto; text-align: center; padding:0.5em;"> | + | <div style="width: 70%; border:{{{border|1px solid #ddd}}}; background-color:{{{background-color|#f8f8f8}}}; margin: 1em auto; text-align: center; padding:0.5em;"> |
{{{text|Text for the box.}}} | {{{text|Text for the box.}}} | ||
</div> | </div> | ||
+ | |||
+ | == Example == | ||
+ | <pre><nowiki>{{box|text=''This is my box based on this template.''}}</nowiki></pre> | ||
+ | {{box|text=This is a box based on this template.}} | ||
<noinclude> | <noinclude> | ||
</noinclude> | </noinclude> |
Revision as of 14:59, 7 June 2011
Text for the box.
Example
{{box|text=''This is my box based on this template.''}}
This is a box based on this template.