Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Color box: Difference between revisions

Template page
Djavin novienta (talk | contribs)
Moved documentation to Template:Color box/doc.
Add code for text-align option.
Line 1: Line 1:
<div style="margin:0; background-color:{{{color|#000000}}}; border:1px solid {{{border|#888888}}}; font-style:italic; text-align:left; padding:1em 1em 1em 1em; overflow:hidden; color:{{{text|#ffffff}}}; {{#if:{{{width}}}|width:{{{width}}}|}}; margin-right:auto; margin-left:auto">{{{1|Example text}}}</div><noinclude>
<div style="margin:0; background-color:{{{color|#000000}}}; border:1px solid {{{border|#888888}}}; font-style:italic; text-align:{{{align|left}}}; padding:1em 1em 1em 1em; overflow:hidden; color:{{{text|#ffffff}}}; {{#if:{{{width}}}|width:{{{width}}}|}}; margin-right:auto; margin-left:auto">{{{1|Example text}}}</div><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>