Template:Divbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (19 revisions imported) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style=" | <includeonly><div style="{{#switch:{{{1}}} | ||
|red=background-color: #FFCCCC; border: 1px solid #CC0000; | |||
<div style=" | |grey=background-color:#EEEEEE;border:1px solid #999999; | ||
|amber=background-color: #FFFFCC; border: 1px solid #663300; | |||
</div> | |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> | ||
</div></includeonly><noinclude>Mimics the [[w:Template:Divbox|divbox template]] found on English wikipedia. | |||
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). | |||
</noinclude> |
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).