Template:Fmbox: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Some improvements to the class naming and the style code, no change in visual appearance.
(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:
<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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu