Difference between revisions of "Template:ColorBox"
Jump to navigation
Jump to search
m |
m (added leftmargin named parameter) |
||
Line 17: | Line 17: | ||
[[Category:Box templates]] | [[Category:Box templates]] | ||
</noinclude><div style="display: inline-block; padding: 6px 30px 8px 20px; margin: {{{leftmargin| | </noinclude><div style="display: inline-block; padding: 6px 30px 8px 20px; margin: 4px {{{leftmargin|0}}}px 12px 0px; background: {{{3|#EBFDFF}}}; border: 2px solid {{{4|#87A5CC}}}; -webkit-border-radius: {{{6|6px}}}; -moz-border-radius: {{{6|6px}}}; border-radius: {{{6|6px}}};"><span style="text-shadow: {{{5|#AAF}}} 1px 2px 2px;">'''{{{1|Title here:}}}'''</span> {{{2|Content here. More content.}}} | ||
</div><br /> | </div><br /> |
Revision as of 13:23, 26 October 2010
Rounded Color Box Template
Use this template by putting this in your page:
{{ColorBox|Title|Content}}
And optionally add the other parameters separated by "|".
Parameters:
- Title
- Content
- Background color (optional)
- Border color (optional)
- Title shadow color (optional)
- Corner Radius (optional)
- leftmargin (named) default=4 unit is pixels
Title here: Content here. More content.