Template:Cmbox: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Updating to use "mbox-*" class names instead of "cmbox-*". See Template talk:Mbox#Simpler to use class names.
(Decreasing the empty left image cell from a total of 3px width to 1px width. Can't be 0px since then boxes who are not filled with text don't stay 80% wide.)
(Updating to use "mbox-*" class names instead of "cmbox-*". See Template talk:Mbox#Simpler to use class names.)
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="cmboxmbox-image"><div style="width: 52px;">
{{#if:{{{image|}}}
| {{{image}}}
Line 28:
}}</div></td>
}}
<td class="cmboxmbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="cmboxmbox-imageright"> {{{imageright}}} </td>
}}
</tr>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu