Difference between revisions of "Template:ICPbox"

From ICPWiki
Jump to navigation Jump to search
Line 4: Line 4:
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
<div class="icpbox" style="width:{{#if:{{{3}}}=auto|auto|{{{3|100}}}ex}};height:{{#if:{{{4}}}=auto|auto|{{{4|30}}}em}};">
+
<div class="icpbox" style="width:{{#ifeq:{{{3}}}|auto|auto|{{{3|100}}}ex}};height:{{#ifeq:{{{4}}}|auto|auto|{{{4|30}}}em}};">
 
<div class="icpbox_header">
 
<div class="icpbox_header">
 
=={{{1}}}==
 
=={{{1}}}==
 
</div>
 
</div>
  
<div class="icpbox_content" style="height:{{#if:{{{4}}}=auto|auto|{{#expr: {{{4|30}}} - 6 }}em}};">
+
<div class="icpbox_content" style="height:{{#ifeq:{{{4}}}|auto|auto|{{#expr: {{{4|30}}} - 6 }}em}};">
 
{{{2}}}
 
{{{2}}}
 
</div>
 
</div>
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Revision as of 14:15, 7 September 2011

{{ICPbox|The Boxtitle|Whats inside the box?|width|height}


The Boxtitle

Whats inside the box?