(min-height: {{{minheight|}}}) |
(1) minheight=(something) -> min-height: (something); . 2) minheight=(blank or null) -> no min-height in inline style; 3) minheight not in parameter list -> min-height: 270px) |
||
Line 1: | Line 1: | ||
<div style="background-color:#E7EAEF; {{#if:{{{minheight|}}}|min-height: {{{minheight|}}}|min-height:270px;}}"> | <div style="background-color:#E7EAEF; {{#if:{{{minheight|}}}|min-height: {{{minheight|}}}|{{#if:{{{minheight}}}||min-height:270px;}}}}"> | ||
<div style="background: none repeat scroll 0 0 #7D8FA4; border-bottom: 1px solid #777777; border-radius: 6px 6px 0 0; height:36px; line-height:36px;"><!-- | <div style="background: none repeat scroll 0 0 #7D8FA4; border-bottom: 1px solid #777777; border-radius: 6px 6px 0 0; height:36px; line-height:36px;"><!-- | ||
-->{{#if:{{{boxIcon|}}} | <span style="margin:0 0 0 5px;"> [[Image:{{{boxIcon}}}.png|32px]]</span><span style="font-size:12pt; vertical-align:middle;">|<span style="margin:0 0 0 10px; font-size:12pt; vertical-align:middle"> }} | -->{{#if:{{{boxIcon|}}} | <span style="margin:0 0 0 5px;"> [[Image:{{{boxIcon}}}.png|32px]]</span><span style="font-size:12pt; vertical-align:middle;">|<span style="margin:0 0 0 10px; font-size:12pt; vertical-align:middle"> }} |
Revision as of 16:00, 24 January 2014
{{{boxTitle}}}
Usage:
{{bluebox | boxIcon=filename | boxTitle=text}}