Difference between revisions of "Template:Ambox"

From ALFA
Jump to: navigation, search
 
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|}}}
+
<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 #777777;
+
   | #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: 5px;"> {{#switch:{{{image|{{{type|}}}}}}
+
   | <div style="float: left; margin: 7px; margin-right: 10px;"> {{#switch:{{{image|{{{type|}}}}}}
     | #default = {{{image|[[Image:ambox_default|40px]]}}}
+
     | #default = {{{image|[[Image:Ambox_default.png|40px]]}}}
 
   }}</div>
 
   }}</div>
 
}}
 
}}
{{{text}}}
+
<p style="font-weight: bold;">{{{title}}}</p>
 +
<p>{{{text}}}</p>
 
</div>
 
</div>

Latest revision as of 08:56, 23 January 2014