Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Fmbox"

(Changing the "type=warning" border to #BB7070, which is a compromise between the suggestions on the talk page.)
(The 31 days CSS caching for the global "mbox-image" and "mbox-text" classes has passed, so removing the hard-coded styles.)
Line 15: Line 15:
 
{{#ifeq:{{{image|}}}|none
 
{{#ifeq:{{{image|}}}|none
 
| <!-- No image. -->
 
| <!-- No image. -->
| <td class="mbox-image" style="border: none; padding: 2px 0 2px 0.9em; text-align: center;">
+
| <td class="mbox-image">
 
   {{#if:{{{image|}}}
 
   {{#if:{{{image|}}}
 
   | {{{image}}}
 
   | {{{image}}}
Line 26: Line 26:
 
   }}</td>
 
   }}</td>
 
}}
 
}}
<td class="mbox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
+
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
 
{{#if:{{{imageright|}}}
 
{{#if:{{{imageright|}}}
| <td class="mbox-imageright" style="border: none; padding: 2px 0.9em 2px 0; text-align: center;"> {{{imageright}}} </td>
+
| <td class="mbox-imageright"> {{{imageright}}} </td>
 
}}
 
}}
 
</tr>
 
</tr>

Revision as of 03:40, 2 November 2008

[create] 50px Template documentation