Template:Imbox: Difference between revisions

From All Skies Encyclopaedia
imported>Davidgothberg
(Fixed the /doc footer.)
imported>Davidgothberg
(Updating to the new ambox code.)
Line 1: Line 1:
<table class="metadata plainlinks ambox
<table class="metadata plainlinks ambox
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
| serious = ambox-serious
| speedy = ambox-speedy <!-- Can be used from 19 May 2008 -->
| delete <!-- delete = serious -->
| content = ambox-content
| style = ambox-style
| serious = ambox-delete
| merge = ambox-merge
| content = ambox-content
| notice = ambox-notice
| style = ambox-style
| move <!-- move = merge -->
| #default = ambox-notice
| merge = ambox-merge <!-- We can't use ambox-move yet -->
| protection = ambox-protection
| notice = ambox-notice
| #default = ambox-notice
}}" style="border:4px solid #1e90ff; {{{style|}}}">
}}" style="border:4px solid #1e90ff; {{{style|}}}">
<tr>
<tr>
<td class="ambox-image">
<td class="ambox-image">
{{#ifeq:{{{image}}}|none
{{#ifeq:{{{image|}}}|none
| <!-- no image cell; empty cell necessary for text cell to have 100% width -->
| <!-- No image cell; empty cell necessary for text cell to have 100% width -->
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
| serious = [[Image:Stop hand nuvola.svg|40px]]
| speedy = [[Image:Ambox deletion.png|40x40px]]
| delete
| content = [[Image:Emblem-important.svg|40px]]
| style = [[Image:Broom icon.svg|40px]]
| serious = [[Image:Ambox deletion.png|40x40px]]
| merge = [[Image:Merge-split-transwiki default.svg]]
| content = [[Image:Ambox content.png|40x40px]]
| notice = [[Image:Info non-talk.png|40px]]
| style = [[Image:Broom icon.svg|40x40px]]
| move
| blank = [[Image:No image.svg]]
| #default = {{{image|[[Image:Information icon4.svg|40px]]}}}
| merge = [[Image:Merge-split-transwiki default.svg|40x40px]]
| protection = [[Image:Padlock-silver-medium.svg|40x40px]]
| notice = [[Image:Ambox notice.png|40x40px]]
| blank = [[Image:No image.svg|40x40px]]
| #default = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
}}</div>
}}</div>
}}</td>
}}</td>
<td class="ambox-text">{{{text}}}</td>
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
{{#if:{{{imageright|}}}|
{{#if:{{{imageright|}}}
<td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
| <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
}}
}}
</tr>
</tr>

Revision as of 05:28, 29 April 2008