Template:Hidden begin: Difference between revisions

From Vigyanwiki
(marked "toggle" as deprecated, CSS style order)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{#ifeq:{{{showhide|}}}{{{toggle|}}}|left
-->{{#ifeq:{{{showhide|}}}<!--deprecated:-->{{{toggle|}}}|left
     | <!-------------------------------------------------------------------------
     | <!------------------------------------------------------------------------
        showhide (or toggle) = left, so place [hide/show] link on lefthand side:
        showhide = left, so place [hide/show] link on lefthand side:
       --------------------------------------------------------------------------
       -------------------------------------------------------------------------
       --><div class="NavFrame {{#if:{{{expanded|}}}||collapsed}}" style="width:100%; position:relative; border:{{{border|none}}};"><!--
       --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative; width:100%; border:{{{border|none}}};"><!--
           --><div class="NavHead" style="width:2.8em; background:transparent; position:absolute;"></div><!--
           --><div class="NavHead" style="position:absolute; width:2.8em; background:transparent;"></div><!--
           --><div style="height:1.6em; background:transparent; text-align:left; padding-left:2.3em; font-size:100%; font-weight:bold; {{{titlestyle|}}}"><!--
           --><div style="font-size:100%;height:1.6em; background:transparent; padding-left:2.3em; text-align:left; font-weight:bold; {{{titlestyle|}}}"><!--
               -->&nbsp;&nbsp;<!--(deprecated:)-->{{{header|}}}<!---->{{{title|}}}</div><!--
               -->&nbsp;&nbsp;<!--(deprecated:)-->{{{header|}}}<!---->{{{title|}}}</div><!--
           --><div class="NavContent" style="text-align:left; padding-left:0.3em; {{{bodystyle|}}}"><!--
           --><div class="NavContent" style="padding-left:0.3em; text-align:left; {{{bodystyle|}}}"><!--


  -->| <!-------------------------------------------------------------------------
  -->| <!------------------------------------------------------------------------
        showhide (toggle) /= left, so place [hide/show] link on righthand side:
        showhide /= left, so place [hide/show] link on righthand side:
       --------------------------------------------------------------------------
       -------------------------------------------------------------------------
       --><div class="NavFrame {{#if:{{{expanded|}}}||collapsed}}" style="border:{{{border|none}}};"><!--
       --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="border:{{{border|none}}};"><!--
           --><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><!--
           --><div class="NavContent" style="background:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!--
           --><div class="NavContent" style="background:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!--


-->}}</includeonly><noinclude>{{Documentation}}</noinclude>
-->}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 15:47, 18 June 2014

Template documentation