Difference between revisions of "Template:Ambox"
From ALFA
Foambats4all (talk | contribs) |
Foambats4all (talk | contribs) |
||
Line 1: | Line 1: | ||
− | < | + | <div style="width: 80%; margin: 0 auto; padding: 5px; border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; {{#switch:{{{type|}}} |
− | + | | #default = border-left: 10px solid #777777; | |
− | |||
− | |||
− | |||
− | |||
− | | #default = border-left: 10px solid # | ||
}}" class="plainlinks"> | }}" class="plainlinks"> | ||
− | |||
− | |||
{{#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=" | + | | <div style="float: left; margin: 5px;"> {{#switch:{{{image|{{{type|}}}}}} |
− | + | | #default = {{{image|[[Image:ambox_default|40px]]}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | #default = {{{image|[[Image: | ||
}}</div> | }}</div> | ||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | + | {{{text}}} | |
− | + | </div> | |
− | {{ | ||
− | |||
− | </ |
Revision as of 08:49, 23 January 2014
{{{text}}}