Template:Hidden begin: Difference between revisions

From Vigyanwiki
(double documentation call?)
m (111 revisions imported from alpha:Template:Hidden_begin)
 
(32 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{toggle|}}}|left
<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|}}}"><!--
| ----------------------------------------------------------------
--><div class="hidden-title" style="{{#if:{{{ta1|}}}|text-align:{{{ta1}}};}} {{#if:{{{titlebgcolor|}}}|background-color:{{{titlebgcolor}}};}} {{{titlestyle|}}}">{{{title|{{{header|}}}}}}</div><!--
    toggle=left, so format [hide/show] link on lefthand side:
--><div class="hidden-content mw-collapsible-content" style="{{#if:{{{ta2|}}}|text-align:{{{ta2}}};}} {{#if:{{{contentbgcolor|}}}|background-color:{{{contentbgcolor}}};}} {{{contentstyle|{{{bodystyle|}}}}}}"><!--
  ----------------------------------------------------------------
Content added after the template
  --><div class="NavFrame" style="width:100%; position:relative; border:{{{border|none}}};"><!--
--></includeonly><noinclude>
      --><div class="NavHead" style=" position:absolute; width:3.0em; background:transparent;"></div><!--
{{Documentation}}
      --><div style="height:1.6em; background:transparent; text-align:left; padding-left:2em; font-size:100%; font-weight:bold; {{{titlestyle|}}}">&nbsp;&nbsp;<!--
              <!---deprecated:--->{{{header|}}}
                                -->{{{title|}}}</div><!--
      --><div class="NavContent" style="display:none; text-align:left; padding-left:0.3em; {{{bodystyle|}}}"><!--
 
| -------------------------------------------------------------
    toggle/=left, so format [hide/show] link on righthand side:
  -------------------------------------------------------------
  --><div class="NavFrame" 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="display:none; background:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!--
 
}}</includeonly><noinclude><!--
 
 
-->{{documentation|Template:Hidden begin-end/doc}}
 
<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage--->
</noinclude>
</noinclude>

Latest revision as of 18:48, 31 December 2022

Template documentation