Template:Hidden begin: Difference between revisions

From Vigyanwiki
({{{titlestyle}}}, +comments)
m (111 revisions imported from alpha:Template:Hidden_begin)
 
(51 intermediate revisions by 19 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|}}}"><!--
--><div class="NavFrame" style="border:{{{border|none}}};"><!--
--><div class="hidden-title" style="{{#if:{{{ta1|}}}|text-align:{{{ta1}}};}} {{#if:{{{titlebgcolor|}}}|background-color:{{{titlebgcolor}}};}} {{{titlestyle|}}}">{{{title|{{{header|}}}}}}</div><!--
-->{{#if:{{{type|}}}
--><div class="hidden-content mw-collapsible-content" style="{{#if:{{{ta2|}}}|text-align:{{{ta2}}};}} {{#if:{{{contentbgcolor|}}}|background-color:{{{contentbgcolor}}};}} {{{contentstyle|{{{bodystyle|}}}}}}"><!--
  |<!--then:
Content added after the template
    -----------------------------------------------------------------------------
--></includeonly><noinclude>
    {{{type}}} instantiated, so use format with [hide/show] link on lefthand side
{{Documentation}}
    -----------------------------------------------------------------------------
      --><div class="NavFrame"   style="width:100%; position:relative; border:{{{border|none}}};">
        <div class="NavHead"    style="width:32px; background:transparent; position:absolute; left:2px;"></div><div style="height:1.6em; background:transparent; text-align:left; padding-left:33px; font-size:100%; font-weight:bold; <!---deprecated:--->{{{barstyle|}}}<!---->{{{titlestyle|}}}">{{{title}}}</div>
        <div class="NavContent"  style="text-align:left; padding-left:6px; {{{bodystyle|}}}"><!--
 
-->|<!--else:
    -----------------------------------------------------------------------------------
    {{{type}}} not instantiated, so standard 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|}}} <!---deprecated:--->{{{barstyle|}}}<!---->{{{titlestyle|}}}"> <!---deprecated:--->{{{header|}}}<!----> {{{title|}}}&nbsp;</div>
        <div class="NavContent" style="background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!--
 
-->}}</includeonly><noinclude><!--
 
 
-->{{/doc}}
<!--Please add any interwiki links etc on the /doc page, not here - thanks!-->
</noinclude>
</noinclude>

Latest revision as of 18:48, 31 December 2022

Template documentation