Template:Ambox/core: Difference between revisions
(fix images) |
No edit summary |
||
(18 intermediate revisions by 6 users not shown) | |||
Line 10: | Line 10: | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = ambox-notice | | #default = ambox-notice | ||
}} {{{class|}}}" style="{{{style|}}}"> | }} {{{class|}}}" style="{{grey border}} {{{style|}}}"> | ||
<tr> | <tr> | ||
{{#switch:{{{image|}}} | {{#switch:{{{image|}}} | ||
Line 16: | Line 16: | ||
| none = <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --> | | none = <td class="mbox-empty-cell"></td> <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --> | ||
| #default = | | #default = | ||
<td class="mbox-image">{{ | <td class="mbox-image" style="vertical-align: middle;">{{ | ||
#switch:{{{small|}}} | #switch:{{{small|}}} | ||
| left = <!-- Don't use the DIV --> | | left = <!-- Don't use the DIV --> | ||
Line 74: | Line 74: | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
<noinclude>[[Category:Formatting and function templates]]</noinclude> |