Template:Divhide: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (+cat)
(updating to current version of Divhide from WP; usage has changed, docs will follow)
Line 1: Line 1:
<div class="NavFrame" style="width:{{{width|100%}}}">
{{#ifeq:{{{1}}}|end|</div></div>|
  <div class="NavHead" {{#ifeq:{{{title}}}|left|style="text-align:left;"|}}>{{{1}}}</div>
<div class="NavFrame {{#ifeq:{{{show}}}|yes||collapsed}}" {{#if:{{{2|}}}|style="width:{{{2}}}"}}><div class="NavHead" style="background-color:{{{color|#A7D7F9}}}">{{{1}}}</div><div class="NavContent" style="text-align:left;">
  <div class="NavContent" style="display:{{#ifeq:{{{show}}}|yes|show|none}}; text-align:left;">{{{2}}}</div>
}}
</div>
<noinclude>[[Category:Basic formatting templates]]</noinclude>
<noinclude>[[Category:Basic formatting templates]]</noinclude>

Revision as of 00:28, 5 June 2011