Template:Hidden begin: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>MECU
try copying state to NavHead as well
m 1 revision imported
 
(70 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><div class="mw-collapsible {{#ifeq:{{{showhide|}}}{{{toggle|}}}|left|mw-collapsible-leftside-toggle}} {{#if:{{{expanded|}}} | |mw-collapsed}} {{{class|}}}" style="box-sizing:border-box;width:{{{width|100%}}};font-size:95%;padding:4px;border:{{{border|none}}};{{{style|}}}"><!--
--><div class="NavFrame {{{state|autocollapse}}}" style="border:{{{border|none}}};"><!--
          --><div style="font-size:100%;line-height:1.6;font-weight:bold;background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{extra1|}}};{{{titlestyle|{{{headercss|}}}}}}">{{{header|}}}{{{title|}}}</div><!--
--><div class="NavFrame {{{state|autocollapse}}}" style="border:{{{border|none}}};"><!--
          --><div class="mw-collapsible-content" style="background:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{extra2|}}};{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"></includeonly><noinclude>
--><div class="NavHead {{{state|autocollapse}}}" style="background-color:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}}">{{{header|}}}{{{title|}}}&nbsp;</div>
{{hatnote|Templates {{noredirect|Template:Begin hidden|Begin hidden}}, {{noredirect|Template:Start hidden|Start hidden}} and {{noredirect|Template:Start hidden section|Start hidden section}} redirect here.}}
<div class="NavContent" style="background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}}"></includeonly><noinclude>
{{Documentation}}
 
===Parameters===
{| class="wikitable"
! Parameter !! Description !! Default<tr/>
| ''state''  || State of the collapse: <code>collapsed</code> or <code>expanded</code> or <code>autocollapse</code><br />autocollapse will collapse if 2 or more collapseable are used || <code>autocollapse</code></tr>
| ''border'' || Border width and type (style="border:<nowiki>{{{border|}}}</nowiki>;") || none</tr>
| ''bg1''    || Titlebar background color              || transparent</tr>
| ''ta1''    || Titlebar text-alignment                || left</tr>
| ''extra1'' || Any extra styles to apply to titlebar  || (nothing)</tr>
| ''header'' || (or ''title'') Title shown on titlebar || (nothing)</tr>
| ''bg2''    || Body background color                  || transparent</tr>
| ''ta2''    || Body text-alignment                    || left</tr>
| ''extra2'' || Any extra styles to apply to body      || (nothing)</tr>
|}
 
[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 04:18, 15 June 2021

Templates Begin hidden, Start hidden and Start hidden section redirect here.