Template:Hidden begin: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Frietjes
(sync the toggle=left and toggle=right versions)
>Frietjes
(update to use mw-collapsible per request on the talk page)
Line 1: Line 1:
<noinclude>{{hatnote|Templates {{noredirect|Template:Begin hidden|Begin hidden}}, {{noredirect|Template:Start hidden|Start hidden}} and {{noredirect|Template:Start hidden section|Start hidden section}} redirect here.}}</noinclude><!--
<noinclude>{{hatnote|Templates {{noredirect|Template:Begin hidden|Begin hidden}}, {{noredirect|Template:Start hidden|Start hidden}} and {{noredirect|Template:Start hidden section|Start hidden section}} redirect here.}}
--><includeonly><!--
</noinclude><includeonly><div class="mw-collapsible {{#ifeq:{{{showhide|}}}{{{toggle|}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}} | |mw-collapsed}} {{{class|}}}" style="box-sizing:border-box;width:100%;font-size:95%;padding:4px;border:{{{border|none}}};{{{style|}}}"><!--
-->{{#ifeq:{{{showhide|}}}{{{toggle|}}}|left
           --><div style="font-size:100%;line-height:1.6;font-weight:bold;background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{extra1|}}};{{{titlestyle|{{{headercss|}}}}}}">{{{header|}}}{{{title|}}}</div><!--
    | <!------------------------------------------------------------------------
           --><div class="mw-collapsible-content" style="background:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{extra2|}}};{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"></includeonly><noinclude>{{Documentation}}</noinclude>
        showhide = left, so place [show/hide] link on lefthand side:
      -------------------------------------------------------------------------
      --><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 style="font-size:100%;height:1.6em;background:transparent;padding-left:2.8em<!--(should place text just after [show/hide])-->;
                          text-align:{{{ta1|left}}};font-weight:bold;{{{extra1|}}}{{{titlestyle|{{{headercss|}}}}}}">&nbsp;&nbsp;<!--deprecated:-->{{{header|}}}<!---->{{{title|}}}</div><!--
          --><div class="NavContent" style="padding-left:0.3em;text-align:{{{ta2|left}}};{{{extra2|}}}{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"><!--
 
-->| <!------------------------------------------------------------------------
        showhide /= left, so place [show/hide] link on righthand side:
      -------------------------------------------------------------------------
      --><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|{{{headercss|}}}}}}"><!--
                    deprecated:-->{{{header|}}}<!---->{{{title|}}}&nbsp;</div><!--
           --><div class="NavContent" style="background:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{extra2|}}}{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"><!--
 
-->}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 10:53, 1 February 2018