Template:Hidden begin: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Ruud Koot
(rv to david (you are trying to mix NavFrame and collapsible table scripting, if it isn't broken now it likely will break in the future))
m (1 revision imported)
 
(66 intermediate revisions by 16 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" 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" 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" style="background-color:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}}">{{{header|}}}{{{title|}}}&nbsp;</div>
{{Documentation}}
<div class="NavContent" style="background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}}"></includeonly><noinclude>
 
===Parameters===
{| class="wikitable"
! Parameter !! Description !! Default<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 10:57, 6 September 2021