Template:Fmbox: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Gah! The class "plainlinksneverexpand" makes the box transparent, and it sets it with the "!important" keyword so we can not override it. Changing to "plainlinks" for now.)
(Some improvements to the class naming and the style code, no change in visual appearance.)
Line 1: Line 1:
<table class="plainlinks fmbox" style="clear: both; margin: .2em 0; border: 1px solid #aaa; background: #f9f9f9; width: 100%; {{{style|}}}">
<table class="plainlinks fmbox" style="clear: both; margin: 0.2em 0; border: 1px solid #aaa; background: #f9f9f9; width: 100%; {{{style|}}}">
<tr>
<tr>
{{#ifeq:{{{image|}}}|none
{{#ifeq:{{{image|}}}|none
| <!-- No image. -->
| <!-- No image. -->
| <td class="fmbox-image" style="border: none; padding: 2px 0 2px .9em; text-align: center;">
| <td class="mbox-image" style="border: none; padding: 2px 0 2px 0.9em; text-align: center;">
{{#if:{{{image|}}}
{{#if:{{{image|}}}
| {{{image}}}
| {{{image}}}
Line 9: Line 9:
}}</td>
}}</td>
}}
}}
<td class="fmbox-text" style="padding: 0.25em .9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
<td class="mbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
{{#if:{{{imageright|}}}
| <td class="fmbox-imageright" style="border: none; padding: 2px .9em 2px 0; text-align: center;"> {{{imageright}}} </td>
| <td class="mbox-imageright" style="border: none; padding: 2px 0.9em 2px 0; text-align: center;"> {{{imageright}}} </td>
}}
}}
</tr>
</tr>

Revision as of 11:51, 13 September 2008