Template:Fmbox: Difference between revisions
en>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. |
en>Davidgothberg 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=" | | <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=" | <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> |
Revision as of 07:51, 13 September 2008
File:Imbox notice.png | {{{text}}} |