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: | + | <div style="width: 80%; margin: 0 auto; padding: 7px; border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; {{#switch:{{{type|}}} |
− | | #default = border-left: 10px solid # | + | | #default = border-left: 10px solid #80B4DD; |
}}" 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="float: left; margin: | + | | <div style="float: left; margin: 7px; margin-right: 10px;"> {{#switch:{{{image|{{{type|}}}}}} |
− | | #default = {{{image|[[Image: | + | | #default = {{{image|[[Image:Ambox_default.png|40px]]}}} |
}}</div> | }}</div> | ||
}} | }} | ||
− | {{{text}}} | + | <p style="font-weight: bold;">{{{title}}}</p> |
+ | <p>{{{text}}}</p> | ||
</div> | </div> |