Template:Imbox: Difference between revisions
From All Skies Encyclopaedia
imported>Edokter Add bigimage parameter |
imported>Davidgothberg Removed the div, left side images can now be any size without "bigimage". Giving "image=none" better handling. Removed the "metadata" class, since imboxes should be printed. Removed unneded border. |
||
| Line 1: | Line 1: | ||
<table class=" | <table class="plainlinks" style="margin: 4px 10%; border-collapse: collapse; background: #fbfbfb; | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| speedy = border: 3px solid #b22222; background: #fee; | | speedy = border: 3px solid #b22222; background: #fee; | ||
| Line 13: | Line 13: | ||
}} {{{style|}}}"> | }} {{{style|}}}"> | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td> | ||
| < | | <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
| Line 31: | Line 30: | ||
| #default = [[Image:Imbox notice.png|40x40px]] | | #default = [[Image:Imbox notice.png|40x40px]] | ||
}} | }} | ||
}}</ | }}</td> | ||
}} | }} | ||
<td style="border: none; padding: 0.25em 0. | <td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td> | |||
}} | }} | ||
</tr> | </tr> | ||
Revision as of 04:26, 27 May 2008
| File:Imbox notice.png | {{{text}}} |
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]






