Difference between revisions of "Template:ColorPanel"
Jump to navigation
Jump to search
m (Created page with '<noinclude> == Rounded Color Box Template == Use this template by putting this in your page: <nowiki>{{ColorBox|Title|Content}}</nowiki> And optionally add the other named para...') |
Rand Linden (talk | contribs) m (Reverted edits by Rand Linden (Talk) to last revision by Oz Linden) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Rounded Color Box Template == | == Rounded Color Box Template == | ||
<nowiki>{{ | <nowiki>{{ColorPanel|Title|Content}}</nowiki> | ||
=== Positional Parameters === | === Positional Parameters === | ||
Line 14: | Line 13: | ||
|shadowcolor=''color-spec'' | |shadowcolor=''color-spec'' | ||
|cornerradius=''pixels'' | |cornerradius=''pixels'' | ||
===Examples=== | |||
<nowiki>{{ColorPanel|Title| | <nowiki>{{ColorPanel|Title| | ||
Line 25: | Line 26: | ||
}} | }} | ||
<nowiki>{{ColorPanel|Second Panel| | <nowiki>{{ColorPanel | ||
|background=#fdd | |||
|bordercolor=#800 | |||
|Second Panel| | |||
Other Content | |||
# And more content | |||
}}</nowiki> | |||
{{ColorPanel | {{ColorPanel | ||
Line 39: | Line 43: | ||
[[Category:Box templates]] | [[Category:Box templates]] | ||
</noinclude><includeonly><div style="display: inline-block; padding: 6px 30px 8px 20px; margin: 4px 0px 12px 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|# | </noinclude><includeonly><div style="display: inline-block; padding: 6px 30px 8px 20px; margin: 4px 0px 12px 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> |
Latest revision as of 10:31, 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