Vorlage:Cmbox: Unterschied zwischen den Versionen
The 31 days CSS caching for the old locked 52px left image "cmbox mbox-image/text" classes has passed. Removing the hard-coded styles and now using the global classes instead.
imported>Davidgothberg (Making the left image cell handle any image size. Adding hard-coded cell paddings due to the 31 days CSS caching. See talk page.) |
imported>Davidgothberg (The 31 days CSS caching for the old locked 52px left image "cmbox mbox-image/text" classes has passed. Removing the hard-coded styles and now using the global classes instead.) |
||
Zeile 13: | Zeile 13: | ||
{{#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 | | <td class="mbox-image"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
Zeile 28: | Zeile 28: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td class="mbox-text" style=" | <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td class="mbox-imageright | | <td class="mbox-imageright"> {{{imageright}}} </td> | ||
}} | }} | ||
</tr> | </tr> |