Template:Box: Difference between revisions
Jump to navigation
Jump to search
imported>Drew R. Smith No edit summary |
imported>Drew R. Smith No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div style="border:1px #bbb solid; background-color:{{{2|#eee}}}; padding:0.5em; margin:0.5em 0; -moz-border-radius:4px; -webkit-border-radius:4px; {{{ | {{#if:{{{center|}}}|<center>}}<div style="border:1px #bbb solid; background-color:{{{2|#eee}}}; padding:0.5em; margin:0.5em 0; -moz-border-radius:4px; -webkit-border-radius:4px; width:{{{width|}}}; {{{style|}}}; ">{{{1}}}</div><noinclude>{{TlDoc}}</noinclude>{{#if:{{{center|}}}|</center>}} |
Latest revision as of 16:50, 20 August 2009
{{{1}}}
This template is used to create a box around text.
Examples
{{Box|Text Here, [[Link Here]]}}
Produces
Text Here, Link Here
You can also specify the color you want the box to be using a parameter after the text.
{{Box|Text Here, [[Link Here]]|black}}
Produces
Text Here, Link Here
{{Box|Text Here, [[Link Here]]|#517}}
Produces
Text Here, Link Here