Anonymous user
Template:Ambox: Difference between revisions
hardcoded tiem
m (add CSS class "messagebox") |
(hardcoded tiem) |
||
Line 1:
<table class="plainlinks" style="margin: 4px 10%; border-collapse: collapse; background: #fbfbfb; border: 1px solid #c0c090;
{{#switch:{{{type|}}}
| speedy = border: 2px solid #b22222; background: #fee;
| delete = border: 2px solid #b22222;
| content = border: 2px solid #f28500;
| style = border: 2px solid #f4c430;
| notice = ambox-notice▼
| move = border: 2px solid #9932cc;
| protection = border: 2px solid #bba;
}}">▼
| license = border: 2px solid #88a; background: #f7f8ff;
| featured = border: 2px solid #cba135;
| notice <!-- notice = default -->
| #default = border: 2px solid #1e90ff;
}} {{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none▼
▲{{#ifeq:{{{image}}}|none
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
▲ | <!-- no image cell; empty cell necessary for text cell to have 100% width -->
| {{{image}}}
| serious = [[Image:Stop hand nuvola.svg|40px]]▼
| {{#switch:{{{type|}}}
| content = [[Image:Emblem-important.svg|40px]]▼
|
|
|
|
|
}}</div>▼
| license = [[Image:Imbox license.png|40px]]
| featured = [[Image:Imbox featured.png|40px]]
{{#if:{{{imageright|}}}|▼
}}
}}
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
</table><noinclude>▼
| <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td>
</tr></table>
{{template doc}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
|