Difference between revisions of "Template:Ambox"
From ALFA
Foambats4all (talk | contribs) |
Foambats4all (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | <table style="width: 80%; margin: 0 auto; border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; {{#switch:{{{type|}}} | |
− | + | | serious = border-left: 10px solid #b22222; | |
− | + | | content = border-left: 10px solid #f28500; | |
− | + | | style = border-left: 10px solid #f4c430; | |
− | + | | merge = border-left: 10px solid #9932cc; | |
− | + | | notice = border-left: 10px solid #bba; | |
− | + | | #default = border-left: 10px solid #bba; | |
− | + | }}" class="plainlinks"> | |
− | + | <tr> | |
− | + | <td style="padding: 2px 0px 2px 0.5em; text-align: center;"> | |
− | + | {{#ifeq:{{{image}}}|none | |
− | | | + | | <!-- no image cell; empty cell necessary for text cell to have 100% width --> |
− | + | | <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}} | |
− | + | | serious = [[Image:Stop hand nuvola.svg|40px]] | |
− | |content = | + | | content = [[Image:Emblem-important.svg|40px]] |
− | |style = | + | | style = [[Image:Broom icon.svg|40px]] |
− | | | + | | merge = [[Image:Merge-split-transwiki default.svg]] |
− | | | + | | notice = [[Image:Info non-talk.png|40px]] |
− | + | | blank = [[Image:No image.svg]] | |
− | + | | #default = {{{image|[[Image:Info non-talk.svg|40px]]}}} | |
− | + | }}</div> | |
− | + | }}</td> | |
− | + | <td style="padding: 0.25em 0.25em 0.25em 0.5em; width: 100%;">{{{text}}}</td> | |
− | + | {{#if:{{{imageright|}}}| | |
− | + | <td style="padding: 2px 4px 2px 0px; text-align: center;"><div style="width:52px;"> {{{imageright}}} </div></td> | |
− | + | }} | |
− | + | </tr> | |
− | + | </table><noinclude> | |
− | + | {{/doc}} | |
− | | | + | <!-- Add categories and inter-wikis to the /doc subpage, not here! --> |
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | <!-- Add categories and | ||
</noinclude> | </noinclude> |
Revision as of 08:36, 23 January 2014
{{{text}}} |