Template:Cmbox: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
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.
(Making the left image cell handle any image size. Adding hard-coded cell paddings due to the 31 days CSS caching. See talk page.)
(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.)
Line 13:
{{#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>
| <td class="mbox-image" style="padding: 2px 0 2px 0.9em;">
{{#if:{{{image|}}}
| {{{image}}}
Line 28:
}}</td>
}}
<td class="mbox-text" style="padding: 0.25em 0.9em; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright" style="padding: 2px 0.9em 2px 0;"> {{{imageright}}} </td>
}}
</tr>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu