Actions

Template

Difference between revisions of "Hidden begin"

From Unofficial Stationeers Wiki

(top: hatnote update)
(optional class (from template:hidden))
Line 5: Line 5:
 
         showhide = left, so place [show/hide] link on lefthand side:
 
         showhide = left, so place [show/hide] link on lefthand side:
 
       -------------------------------------------------------------------------
 
       -------------------------------------------------------------------------
       --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative;width:100%;border:{{{border|none}}};{{{style|}}}"><!--
+
       --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}} {{{class|}}}" style="position:relative;width:100%;border:{{{border|none}}};{{{style|}}}"><!--
 
           --><div class="NavHead" style="position:absolute;width:3.2em<!--(to accommodate "[show]")-->;background:transparent;"></div><!--
 
           --><div class="NavHead" style="position:absolute;width:3.2em<!--(to accommodate "[show]")-->;background:transparent;"></div><!--
 
           --><div style="font-size:100%;height:1.6em;background:transparent;padding-left:2.8em<!--(should place text just after [show/hide])-->;
 
           --><div style="font-size:100%;height:1.6em;background:transparent;padding-left:2.8em<!--(should place text just after [show/hide])-->;
Line 14: Line 14:
 
         showhide /= left, so place [show/hide] link on righthand side:
 
         showhide /= left, so place [show/hide] link on righthand side:
 
       -------------------------------------------------------------------------
 
       -------------------------------------------------------------------------
       --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="border:{{{border|none}}};{{{style|}}}"><!--
+
       --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}} {{{class|}}}" style="border:{{{border|none}}};{{{style|}}}"><!--
 
           --><div class="NavHead" style="background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{extra1|}}} {{{titlestyle|}}}"><!--
 
           --><div class="NavHead" style="background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{extra1|}}} {{{titlestyle|}}}"><!--
 
                     deprecated:-->{{{header|}}}<!---->{{{title|}}}&nbsp;</div><!--
 
                     deprecated:-->{{{header|}}}<!---->{{{title|}}}&nbsp;</div><!--

Revision as of 16:54, 22 December 2014

Template:Hatnote
Template documentation[create]