Template:Divbox: Difference between revisions

From RadioWiki
Jump to navigation Jump to search
No edit summary
m (19 revisions imported)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div style="{{#switch:{{{1}}}
|red=background-color: #FFCCCC; border: 1px solid #CC0000;
|grey=background-color:#EEEEEE;border:1px solid #999999;
|amber=background-color: #FFFFCC; border: 1px solid #663300;
|navy=background-color: #AADBE0; border: 1px solid #00477B;
|none=border:1px hidden;
|tt=background-color: transparent; color:darkblue; font-family:monospace; border: 1px solid grey;
|plain
|#default=background-color: inherit; border: 1px solid #000000;}} margin: 0.5em; padding: 0.5em; {{#if:{{{radius|}}}|-moz-border-radius: {{{radius}}}; -webkit-border-radius: {{{radius}}}; border-radius: {{{radius}}};}}">
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">{{#if:{{{2|}}}|'''{{{2}}}'''}}</div>
{{{3|}}}
</div>
</div></includeonly><noinclude>Mimics the [[w:Template:Divbox|divbox template]] found on English wikipedia. 


<div style="float: left; background-color: #585858; font-size:30px; border: 1px solid #fffff; padding: 15px; color:#fffff">
Note that not all styles are currently supported.  Currently just <code>red</code>, <code>grey</code>, <code>amber</code>, <code>navy</code>, <code>none</code>, <code>tt</code>, and <code>plain</code> (which is the default).
<p style="color: #ffffff"> {{{headercontent}}} </p>
</noinclude>
<div style="font-size:15px; padding: 15px;">
<p style="color: #ffffff">{{{content}}}<p>
</div>
</div>

Latest revision as of 17:45, 13 April 2020

Mimics the divbox template found on English wikipedia.

Note that not all styles are currently supported. Currently just red, grey, amber, navy, none, tt, and plain (which is the default).