Vorlage:Fmbox: Unterschied zwischen den Versionen
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.) |
||
Zeile 1: | Zeile 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=" | | <td class="mbox-image" style="border: none; padding: 2px 0 2px 0.9em; text-align: center;"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
Zeile 9: | Zeile 9: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td class=" | <td class="mbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td class=" | | <td class="mbox-imageright" style="border: none; padding: 2px 0.9em 2px 0; text-align: center;"> {{{imageright}}} </td> | ||
}} | }} | ||
</tr> | </tr> |