Template:Titled box: Difference between revisions

Moved CSS stuff out of here.
(New documentation style.)
(Moved CSS stuff out of here.)
Line 1: Line 1:
{|style="width: 100%; background: {{{bg|#f5fffa}}}; border: 1px solid {{{border|#cef2e0}}}; margin-top: 10px; padding: 6px;"
{|class="titledBox" style="{{#if:{{{bg|}}}|background: {{{bg}}};}} {{#if:{{{border|}}}|border-color: {{{border}}};}}"
|
|
{|style="width: 100%; height: 1em; background: {{{tbg|#cef2e0}}}; border: 1px solid {{{tborder|#a3bfb1}}}; padding: 0 5px;"
{|class="titledBoxTitle" style="{{#if:{{{tbg|}}}|background: {{{tbg}}};}} {{#if:{{{tborder|}}}|border-color: {{{tborder}}};}}"
|style="font-size: 1.2em; font-weight: bold;"|{{{title|Title}}}{{#if:{{{editlink|}}}|<br />
|{{{title|Title}}}{{#if:{{{editlink|}}}|<br />
{{!}}style="text-align:right;" class="plainlinks"{{!}}[{{fullurl:{{{editlink}}}|action=edit}} edit]}}
{{!}}style="text-align:right;" class="plainlinks"{{!}}[{{fullurl:{{{editlink}}}|action=edit}} edit]}}
|}
|}