Difference between revisions of "Template:ICPbox"

From ICPWiki
Jump to navigation Jump to search
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="icpbox" style="width:{{{3}}}ex;height:{{{4}}}em;">
+
<noinclude>
 +
<nowiki>{{ICPbox|The Boxtitle|Whats inside the box?|width|height}}</nowiki>
 +
{{ICPbox|The Boxtitle|Whats inside the box?|75|35}}
 +
</noinclude>
 +
<includeonly>
 +
<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:{{#expr: {{{4|}}} - 4 }}em;">
+
<div class="icpbox_content" style="height:{{#ifeq:{{{4}}}|auto|auto|{{#expr: {{{4|30}}} - 6 }}em}};">
 
{{{2}}}
 
{{{2}}}
 
</div>
 
</div>
 
</div>
 
</div>
 +
</includeonly>

Latest revision as of 18:07, 1 October 2012

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


The Boxtitle

Whats inside the box?