Actions

Template

Difference between revisions of "Hidden begin"

From Unofficial Stationeers Wiki

(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 (108 revisions imported)
 
(65 intermediate revisions by 15 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: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>
+
{{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/>
 
| ''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 14:04, 14 July 2018

Template:Hatnote

Template documentation[create]