Template:Fmbox: Difference between revisions

Content deleted Content added
imported>Davidgothberg
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.
imported>Davidgothberg
Some improvements to the class naming and the style code, no change in visual appearance.
Line 1:
<table class="plainlinks fmbox" style="clear: both; margin: 0.2em 0; border: 1px solid #aaa; background: #f9f9f9; width: 100%; {{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. -->
| <td class="fmboxmbox-image" style="border: none; padding: 2px 0 2px 0.9em; text-align: center;">
{{#if:{{{image|}}}
| {{{image}}}
Line 9:
}}</td>
}}
<td class="fmboxmbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="fmboxmbox-imageright" style="border: none; padding: 2px 0.9em 2px 0; text-align: center;"> {{{imageright}}} </td>
}}
</tr>