Difference between revisions of "Template:ColorPanel"
Jump to navigation
Jump to search
m |
Rand Linden (talk | contribs) |
||
Line 43: | Line 43: | ||
[[Category:Box templates]] | [[Category:Box templates]] | ||
</noinclude><includeonly><div style="display: inline-block; padding: 6px 30px 8px 20px; margin: 4px 0px | </noinclude><includeonly><div style="display: inline-block; padding: 6px 30px 8px 20px; margin: 4px 0px 6px 0px; background: {{{background|#EBFDFF}}}; border: 2px solid {{{bordercolor|#87A5CC}}}; -webkit-border-radius: {{{cornerradius|6px}}}; -moz-border-radius: {{{cornerradius|6px}}}; border-radius: {{{cornerradius|6px}}};"><span style="text-shadow: {{{shadowcolor|#AAA}}} 1px 2px 2px;">'''{{{1|Title here:}}}'''</span> {{{2|Content here. More content.}}} | ||
</div><br /></includeonly> | </div><br /></includeonly> |
Revision as of 10:28, 25 May 2011
Rounded Color Box Template
{{ColorPanel|Title|Content}}
Positional Parameters
- Title
- Content
Optional Named Parameters
|background=color-spec |bordercolor=color-spec |shadowcolor=color-spec |cornerradius=pixels
Examples
{{ColorPanel|Title| Content * And more content }}
Title
Content
- And more content
{{ColorPanel |background=#fdd |bordercolor=#800 |Second Panel| Other Content # And more content }}
Second Panel
Other Content
- And more content