Difference between revisions of "Template:ExpansibleBox"

m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{#ifeq:{{{state|}}}|expanded|<div class="mw-collapsible">|<div class="mw-collapsible mw-collapsed">}}
 
{{#ifeq:{{{state|}}}|expanded|<div class="mw-collapsible">|<div class="mw-collapsible mw-collapsed">}}
{{#if:{{{background_color|}}}|<div style="background-color:{{{background_color}}}; border: thin dotted black">|<div style="background-color:#{{Settings:Default expansible box color}}; border: thin dotted black">}}<!--Defaults to light blue color-->
+
{{#if:{{{background_color|}}}|<div style="background-color:{{{background_color}}}; border: thin dotted black">|<div style="background-color:{{Settings:Default expansible box color}}; border: thin dotted black">}}
 
<div style="float:left;">{{#if:{{{name|}}}|[[Template:Navbox:{{{name}}}|⍗]]}}</div>
 
<div style="float:left;">{{#if:{{{name|}}}|[[Template:Navbox:{{{name}}}|⍗]]}}</div>
  
 
<center><small>{{#if:{{{title|}}}|'''''{{{title}}}'''''}}</small></center></div>
 
<center><small>{{#if:{{{title|}}}|'''''{{{title}}}'''''}}</small></center></div>
  
<div class="mw-collapsible-content" style="background-color:#{{Settings:Default expansible box color}}; border: thin dotted black; padding: 5px">
+
<div class="mw-collapsible-content" style="background-color:{{Settings:Default expansible box color}}; border: thin dotted black; padding: 5px">
 
{{{contents}}}
 
{{{contents}}}
 
</div>
 
</div>

Latest revision as of 23:47, 11 May 2024

{{{contents}}}