Difference between revisions of "Template:Ambox"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
< | <style type="text/css"> | ||
table.ambox { | |||
border-width: 2px; | |||
border-spacing: 2px; | |||
border-style: solid; | |||
border-color: black; | |||
border-collapse: separate; | |||
} | background-color: white; | ||
} | |||
table.ambox th { | |||
border-width: 2px; | |||
padding: 2px; | |||
border-style: dotted; | |||
border-color: gray; | |||
background-color: white; | |||
-moz-border-radius: 0px; | |||
} | |||
table.ambox td { | |||
border-width: 2px; | |||
padding: 2px; | |||
border-style: dotted; | |||
border-color: gray; | |||
background-color: white; | |||
-moz-border-radius: 0px; | |||
} | |||
</style> | |||
<table class="ambox"> | |||
<tr> | <tr> | ||
<td class="ambox | <td class="ambox"> | ||
{{#ifeq:{{{image}}}|none | {{#ifeq:{{{image}}}|none | ||
| <!-- no image cell; empty cell necessary for text cell to have 100% width --> | | <!-- no image cell; empty cell necessary for text cell to have 100% width --> | ||
Line 21: | Line 41: | ||
}}</div> | }}</div> | ||
}}</td> | }}</td> | ||
<td class="ambox | <td class="ambox">{{{text}}}</td> | ||
{{#if:{{{imageright|}}}| | {{#if:{{{imageright|}}}| | ||
<td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td> | <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td> |
Revision as of 21:56, 11 April 2008
<style type="text/css"> table.ambox { border-width: 2px; border-spacing: 2px; border-style: solid; border-color: black; border-collapse: separate; background-color: white; } table.ambox th { border-width: 2px; padding: 2px; border-style: dotted; border-color: gray; background-color: white; -moz-border-radius: 0px; } table.ambox td { border-width: 2px; padding: 2px; border-style: dotted; border-color: gray; background-color: white; -moz-border-radius: 0px; } </style>
{{{text}}} |
copied from Wikipedia