Template:Hidden begin: Difference between revisions

From Vigyanwiki
("contentstyle" as less potentially ambiguous alternative to "bodystyle")
m (111 revisions imported from alpha:Template:Hidden_begin)
 
(14 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|}}}{{{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 [show/hide] 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}}};{{{style|}}}"><!--
{{Documentation}}
          --><div class="NavHead" style="position:absolute;width:3.2em<!--(to accommodate "[show]")-->;background:transparent;"></div><!--
</noinclude>
          --><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|{{{contentstyle|}}}}}}"><!--
 
-->| <!------------------------------------------------------------------------
        showhide /= left, so place [show/hide] link on righthand side:
      -------------------------------------------------------------------------
      --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="border:{{{border|none}}};{{{style|}}}"><!--
          --><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|{{{contentstyle|}}}}}}"><!--
 
-->}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 18:48, 31 December 2022

Template documentation