Template:Hidden begin: Difference between revisions

From Vigyanwiki
m (111 revisions imported from alpha:Template:Hidden_begin)
 
(35 intermediate revisions by 14 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:{{{toggle|}}} |<!--equals:-->left
--><div class="hidden-title" style="{{#if:{{{ta1|}}}|text-align:{{{ta1}}};}} {{#if:{{{titlebgcolor|}}}|background-color:{{{titlebgcolor}}};}} {{{titlestyle|}}}">{{{title|{{{header|}}}}}}</div><!--
  |<!--then:
--><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
    toggle=left, so format [hide/show] link on lefthand side:
--></includeonly><noinclude>
    ----------------------------------------------------------------
{{Documentation}}
    --><div class="NavFrame" style="width:100%; position:relative; border:{{{border|none}}};"><!--
    --><div class="NavHead" style="width:2.3em; background:transparent; position:absolute;"></div><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|}}}"><!--
 
-->|<!--else:
    -------------------------------------------------------------
    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-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!--
 
-->}}</includeonly><noinclude><!--
 
 
-->{{Documentation, template|Template:Hidden begin-end/doc}}
{{/doc}}<!--Please add any interwiki links etc on the /doc page, not here - thanks!-->
</noinclude>
</noinclude>
[[fr:Modèle:Boîte déroulante début]]
[[ru:Шаблон:Начало скрытого блока]]
[[uk:Шаблон:Початок прихованого блоку]]

Latest revision as of 18:48, 31 December 2022

Template documentation