Vorlage:Dmbox: Unterschied zwischen den Versionen
Change to use less margin and padding so it looks more like the old disambig and set index boxes.
imported>Davidgothberg (Adding "{{pp-template|small=yes}}".) |
imported>Davidgothberg (Change to use less margin and padding so it looks more like the old disambig and set index boxes.) |
||
Zeile 9: | Zeile 9: | ||
| disambig <!-- disambig = default --> | | disambig <!-- disambig = default --> | ||
| #default = dmbox-disambig | | #default = dmbox-disambig | ||
}}" style="clear: both; margin: 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background: transparent; {{{style|}}}"> | }}" style="clear: both; margin: 0.9em 1em; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; background: transparent; {{{style|}}}"> | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td> | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td> | ||
| <td class="mbox-image" style="padding: 2px 0 2px 0. | | <td class="mbox-image" style="padding: 2px 0 2px 0.4em;"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
Zeile 19: | Zeile 19: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td class="mbox-text" style="padding: 0.25em 0. | <td class="mbox-text" style="padding: 0.25em 0.4em; font-style: italic; {{{textstyle|}}}"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td class="mbox-imageright" style="padding: 2px 0. | | <td class="mbox-imageright" style="padding: 2px 0.4em 2px 0;"> {{{imageright}}} </td> | ||
}} | }} | ||
</tr> | </tr> |