Actions

Template

Difference between revisions of "Hidden begin"

From Unofficial Stationeers Wiki

(copy state to second (redundant?) namframe)
(try copying state to NavHead as well)
Line 2: Line 2:
 
--><div class="NavFrame {{{state|autocollapse}}}" style="border:{{{border|none}}};"><!--
 
--><div class="NavFrame {{{state|autocollapse}}}" style="border:{{{border|none}}};"><!--
 
--><div class="NavFrame {{{state|autocollapse}}}" style="border:{{{border|none}}};"><!--
 
--><div class="NavFrame {{{state|autocollapse}}}" style="border:{{{border|none}}};"><!--
--><div class="NavHead" style="background-color:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}}">{{{header|}}}{{{title|}}}&nbsp;</div>
+
--><div class="NavHead {{{state|autocollapse}}}" style="background-color:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}}">{{{header|}}}{{{title|}}}&nbsp;</div>
 
<div class="NavContent" style="background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}}"></includeonly><noinclude>
 
<div class="NavContent" style="background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}}"></includeonly><noinclude>
  

Revision as of 13:13, 22 March 2007


Parameters

Parameter Description Default<tr/> state State of the collapse: collapsed or expanded or autocollapse
autocollapse will collapse if 2 or more collapseable are used
autocollapse</tr> border Border width and type (style="border:{{{border|}}};") 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>