Difference between revisions of "Template:ColorBox"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
And optionally add the other parameters separated by "|".
And optionally add the other parameters separated by "|".


=== Parameters: ===
=== Parameters: (all positional) ===
# Title  
# Title  
# Content
# Content
Line 12: Line 12:
# Title shadow color (optional)
# Title shadow color (optional)
# Corner Radius (optional)
# Corner Radius (optional)
# leftmargin (named) default=4 unit is pixels


{{ColorBox|Title|
Content
* and more content
}}


[[Category:Box templates]]
[[Category:Box templates]]


</noinclude><div style="display: inline-block; padding: 6px 30px 8px 20px; margin: {{{leftmargin|4}}}px 0px 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.}}}
</noinclude><includeonly><div style="display: inline-block; padding: 6px 30px 8px 20px; margin: 4px 0px 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 /></includeonly>

Latest revision as of 06:11, 8 November 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: (all positional)

  1. Title
  2. Content
  3. Background color (optional)
  4. Border color (optional)
  5. Title shadow color (optional)
  6. Corner Radius (optional)
Title

Content

  • and more content