Template:Hidden begin: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
marked "toggle" as deprecated, CSS style order
meta>Sardanaphalus
Amended width/padding-left so that left-aligned "[show]" within background
Line 2: Line 2:
-->{{#ifeq:{{{showhide|}}}<!--deprecated:-->{{{toggle|}}}|left
-->{{#ifeq:{{{showhide|}}}<!--deprecated:-->{{{toggle|}}}|left
     | <!------------------------------------------------------------------------
     | <!------------------------------------------------------------------------
         showhide = left, so place [hide/show] 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}}};"><!--
       --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative; width:100%; border:{{{border|none}}};"><!--
           --><div class="NavHead" style="position:absolute; width:2.8em; 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.3em; text-align:left; font-weight:bold; {{{titlestyle|}}}"><!--
           --><div style="font-size:100%; height:1.6em; background:transparent; padding-left:2.8em;<!--(should place text just after [show/hide])-->
              -->&nbsp;&nbsp;<!--(deprecated:)-->{{{header|}}}<!---->{{{title|}}}</div><!--
                          text-align:left; font-weight:bold; {{{titlestyle|}}}">&nbsp;&nbsp;<!--deprecated:-->{{{header|}}}<!---->{{{title|}}}</div><!--
           --><div class="NavContent" style="padding-left:0.3em; text-align:left; {{{bodystyle|}}}"><!--
           --><div class="NavContent" style="padding-left:0.3em; text-align:left; {{{bodystyle|}}}"><!--


  -->| <!------------------------------------------------------------------------
  -->| <!------------------------------------------------------------------------
         showhide /= left, so place [hide/show] link on righthand side:
         showhide /= left, so place [show/hide] 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 02:14, 19 June 2014