Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Ambox: Difference between revisions

Template page
Content added Content deleted
(restore css color schemes)
(add classes)
Line 1: Line 1:
<table class="metadata plainlinks ambox {{#switch:{{{type|}}}
<table class="metadata plainlinks ambox {{#switch:{{{type|}}}
| delete = ambox-delete
|speedy = ambox-speedy
| serious = ambox-serious
|delete = ambox-delete
| content = ambox-content
|serious = ambox-serious
| style = ambox-style
|content = ambox-content
| merge = ambox-merge
|style = ambox-style
| notice = ambox-notice
|merge = ambox-merge
| #default = ambox-notice
|move = ambox-move
|protection = ambox-protection
}}" style="{{{style|display:table}}};">
|notice = ambox-notice
|#default = ambox-notice
}} {{{class|}}}" style="{{{style|display:table}}};">
<tr>
<tr>
{{#switch:{{{image|}}}
<td class="mbox-image">
|blank
{{#ifeq:{{{image}}}|none
|none = <td class="mbox-empty-cell"></td>
| <!-- no image cell; empty cell necessary for text cell to have 100% width -->
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
|#default = <td class="mbox-image"><div style="width:52px;">{{#if:{{{image|}}}
|{{{image}}}
| delete = [[File:Achtung.svg|40px]]
| serious = [[File:Stop hand nuvola.svg|40px]]
|[[File:{{#switch:{{{type|}}}
|speedy = Ambox speedy deletion.png
| content = [[File:Emblem-important.svg|40px]]
|delete = Ambox deletion.png
| style = [[File:Broom icon.svg|40px]]
|serious = Stop hand nuvola.svg
| merge = [[File:Merge-split-transwiki default.svg|40px]]
| notice = [[File:Info non-talk.png|40px]]
|content = Ambox content.png
| blank = [[File:No image.svg]]
|style = Edit-clear.svg
|merge = Merge-split-transwiki default.svg
| #default = {{{image|[[File:Info non-talk.png|40px]]}}}
|move = Ambox move.png
}}</div>
|protection = Ambox protection.png
}}</td>
|notice
|#default = Ambox notice.png
}}|40x40px|link=|alt=]]
}}</div></td>
}}
<td class="mbox-text" style="{{{textstyle|display:table-cell}}};">{{{text}}}{{#if:{{{lang|}}}|
<td class="mbox-text" style="{{{textstyle|display:table-cell}}};">{{{text}}}{{#if:{{{lang|}}}|
<hr />
<hr />
{{{{{lang|}}}}}}}</td>
{{{{{lang|}}}}}}}</td>
{{#if:{{{imageright|}}}|
{{#if:{{{imageright|}}}
<td class="mbox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
| {{#ifeq:{{{imageright|}}}|none
| <!-- No image. --><td class="mbox-empty-cell"></td>
| <td class="mbox-imageright"><div style="width:52px;">{{{imageright}}}</div></td>
}}
}}
}}
</tr>
</tr>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.