Template:Hidden begin: Difference between revisions

From Vigyanwiki
(made change per talk request)
m (111 revisions imported from alpha:Template:Hidden_begin)
 
(26 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{show-hide|}}}|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><!--
  -->| <!------------------------------------------------------------
--><div class="hidden-content mw-collapsible-content" style="{{#if:{{{ta2|}}}|text-align:{{{ta2}}};}} {{#if:{{{contentbgcolor|}}}|background-color:{{{contentbgcolor}}};}} {{{contentstyle|{{{bodystyle|}}}}}}"><!--
        show-hide=left, so place [show/hide] link on lefthand side:
Content added after the template
        -------------------------------------------------------------
--></includeonly><noinclude>
        --><div class="NavFrame" <!--
{{Documentation}}
            -->style="position:relative; <!--
                    -->width:100%; border:{{{border|none}}};"><!--
                --------positioning [show/hide]--------
            --><div class="NavHead" <!--
                -->style="position:absolute; <!--
                        -->width:3.4em;<!--to move [show/hide] onto titlebar--> <!--
                        -->background:transparent;"><!--
            --></div><!--
                ----------------Title------------------
            --><div style="height:1.6em; <!--
                        -->padding-left:3.6em;<!--i.e. NavHead width above plus 0.2em--> <!--
                        -->background:{{{titlebackground|transparent}}}; <!--
                        -->text-align:{{{titlealign|left}}}; font-size:100%; <!--
                        -->font-weight:bold; {{{titlestyle|}}}"><!--
                -->{{{title|}}}</div><!--
                ------------Body formatting------------
            --><div class="NavContent" <!--
                -->style="display:none; <!--
                        -->background:{{{bodybackground|transparent}}}; <!--
                        -->text-align:{{{bodyalign|left}}}; {{{bodystyle|}}}"><!--
 
  -->| <!--------------------------------------------------------------
        show-hide/=left, so place [show/hide] link on righthand side:
        ---------------------------------------------------------------
        --><div class="NavFrame" <!--
            -->style="border:{{{border|none}}};"><!--
                ---------Title and [show/hide]---------
            --><div class="NavHead" <!--
                -->style="background:{{{titlebackground|transparent}}}; <!--
                        -->text-align:{{{titlealign|left}}}; {{{titlestyle|}}}"><!--
                -->{{{title|}}} </div><!--
                ------------Body formatting------------
            --><div class="NavContent" <!--
                -->style="display:none; <!--
                        -->background:{{{bodybackground|transparent}}}; <!--
                        -->text-align:{{{bodyalign|left}}}; {{{bodystyle|}}}"><!--
 
-->}}</includeonly><noinclude>
{{pp-template|small=yes}}
{{documentation|Template:Hidden begin-end/doc}}
<!---Please add metadata to the <includeonly> section at the bottom
    of [[Template:Hidden begin-end/doc]], not here - thank you!--->
</noinclude>
</noinclude>

Latest revision as of 18:48, 31 December 2022

Template documentation