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
(refresh)
(fix - all table cells take mbox-.... classes; not the primary table tag's class)
Line 1: Line 1:
<table style="{{{style|}}}" class="metadata plainlinks messagebox ambox {{#switch:{{{type|}}}
<table style="{{{style|}}}" class="metadata plainlinks messagebox ambox {{#switch:{{{type|}}}
| delete = ambox-delete
| serious = ambox-serious
| serious = ambox-serious
| content = ambox-content
| content = ambox-content
Line 8: Line 9:
}}">
}}">
<tr>
<tr>
<td class="ambox-image">
<td class="mbox-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 -->
Line 22: Line 23:
}}</div>
}}</div>
}}</td>
}}</td>
<td class="ambox-text">{{{text}}}{{#if:{{{lang|}}}|
<td class="mbox-text">{{{text}}}{{#if:{{{lang|}}}|
<hr />
<hr />
{{{{{lang|}}}}}}}</td>
{{{{{lang|}}}}}}}</td>
{{#if:{{{imageright|}}}|
{{#if:{{{imageright|}}}|
<td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></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.