Template:Hidden begin: Difference between revisions

From Vigyanwiki
(marked "toggle" as deprecated, CSS style order)
m (111 revisions imported from alpha:Template:Hidden_begin)
 
(18 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><templatestyles src="Template:Hidden begin/styles.css"/><div class="hidden-begin mw-collapsible {{#ifeq:{{{showhide|{{{toggle}}}}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}}||mw-collapsed}} {{{class|}}}" style="{{#if:{{{width|}}}|width:{{{width}}};}} {{#if:{{{border|}}}|border:{{{border}}};}} {{#if:{{{bgcolor|}}}|background-color:{{{bgcolor}}};}} {{{style|}}}"><!--
-->{{#ifeq:{{{showhide|}}}<!--deprecated:-->{{{toggle|}}}|left
--><div class="hidden-title" style="{{#if:{{{ta1|}}}|text-align:{{{ta1}}};}} {{#if:{{{titlebgcolor|}}}|background-color:{{{titlebgcolor}}};}} {{{titlestyle|}}}">{{{title|{{{header|}}}}}}</div><!--
    | <!------------------------------------------------------------------------
--><div class="hidden-content mw-collapsible-content" style="{{#if:{{{ta2|}}}|text-align:{{{ta2}}};}} {{#if:{{{contentbgcolor|}}}|background-color:{{{contentbgcolor}}};}} {{{contentstyle|{{{bodystyle|}}}}}}"><!--
        showhide = left, so place [hide/show] link on lefthand side:
Content added after the template
      -------------------------------------------------------------------------
--></includeonly><noinclude>
      --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative; width:100%; border:{{{border|none}}};"><!--
{{Documentation}}
          --><div class="NavHead" style="position:absolute; width:2.8em; background:transparent;"></div><!--
</noinclude>
          --><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><!--
          --><div class="NavContent" style="padding-left:0.3em; text-align:left; {{{bodystyle|}}}"><!--
 
-->| <!------------------------------------------------------------------------
        showhide /= left, so place [hide/show] 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 18:48, 31 December 2022

Template documentation