Difference between revisions of "Template:ColorPanel"

From Second Life Wiki
Jump to navigation Jump to search
m
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 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.}}}
</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 11:28, 25 May 2011

Rounded Color Box Template

{{ColorPanel|Title|Content}}

Positional Parameters

  1. Title
  2. 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

  1. And more content