Jump to content

Template:Ombox/core: Difference between revisions

From IdeaWazaWiki
wikademia>Davidgothberg
m Protected Template:Ombox/core: Used in the protected high-risk {{ombox}} template. [edit=sysop:move=sysop]
wikademia>Davidgothberg
Updating to use "mbox-*" class names instead of "ombox-*". See Template talk:Mbox#Simpler to use class names.
Line 13: Line 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="ombox-image">
| <td class="mbox-image">
   {{#if:{{{image|}}}
   {{#if:{{{image|}}}
   | {{{image}}}
   | {{{image}}}
Line 28: Line 28:
   }}</td>
   }}</td>
}}
}}
<td class="ombox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
{{#if:{{{imageright|}}}
| {{#ifeq:{{{imageright|}}}|none
| {{#ifeq:{{{imageright|}}}|none
   | <!-- No image. -->
   | <!-- No image. -->
   | <td class="ombox-imageright"> {{{imageright}}} </td>
   | <td class="mbox-imageright"> {{{imageright}}} </td>
   }}
   }}
}}
}}

Revision as of 03:15, 26 September 2008

[create] Template documentation