Difference between revisions of "Template:Ambox"
From ALFA
Foambats4all (talk | contribs) (Created page with "<table style="width: 80%; margin: 0 auto; border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; {{#switch:{{{type|}}} | se...") |
Foambats4all (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <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 #80B4DD; | |
− | |||
− | |||
− | |||
− | |||
− | | #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: 7px; margin-right: 10px;"> {{#switch:{{{image|{{{type|}}}}}} |
− | + | | #default = {{{image|[[Image:Ambox_default.png|40px]]}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | #default = {{{image|[[Image: | ||
}}</div> | }}</div> | ||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | < | + | <p style="font-weight: bold;">{{{title}}}</p> |
− | </ | + | <p>{{{text}}}</p> |
− | {{ | + | </div> |
− | < | ||
− | </ |