Template:Hidden begin: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Sardanaphalus
(Amended width/padding-left so that left-aligned "[show]" within background)
m (1 revision imported)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><div class="mw-collapsible {{#ifeq:{{{showhide|}}}{{{toggle|}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}} | |mw-collapsed}} {{{class|}}}" style="box-sizing:border-box;width:{{{width|100%}}};font-size:95%;padding:4px;border:{{{border|none}}};{{{style|}}}"><!--
-->{{#ifeq:{{{showhide|}}}<!--deprecated:-->{{{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>
        showhide = left, so place [show/hide] link on lefthand side:
{{Documentation}}
      -------------------------------------------------------------------------
</noinclude>
      --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative; width:100%; border:{{{border|none}}};"><!--
          --><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:left; font-weight:bold; {{{titlestyle|}}}">&nbsp;&nbsp;<!--deprecated:-->{{{header|}}}<!---->{{{title|}}}</div><!--
           --><div class="NavContent" style="padding-left:0.3em; text-align:left; {{{bodystyle|}}}"><!--
 
-->| <!------------------------------------------------------------------------
        showhide /= left, so place [show/hide] link on righthand side:
      -------------------------------------------------------------------------
      --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="border:{{{border|none}}};"><!--
          --><div class="NavHead" style="background:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}} {{{titlestyle|}}}"><!--
                    deprecated:-->{{{header|}}}<!---->{{{title|}}}&nbsp;</div><!--
           --><div class="NavContent" style="background:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!--
 
-->}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 10:57, 6 September 2021