Template:Hidden begin: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>MECU
(try copying state to NavHead as well)
>MZMcBride
(minor edits)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><div class="NavFrame {{{state|autocollapse}}}" style="border:{{{border|none}}};"><!--
--><div class="NavFrame {{{state|collapsed}}}" style="border:{{{border|none}}};"><!--
--><div class="NavFrame {{{state|autocollapse}}}" style="border:{{{border|none}}};"><!--
--><div class="NavFrame {{{state|collapsed}}}" style="border:{{{border|none}}};"><!--
--><div class="NavHead {{{state|autocollapse}}}" style="background-color:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}}">{{{header|}}}{{{title|}}}&nbsp;</div>
--><div class="NavHead {{{state|collapsed}}}" 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 14:20, 22 March 2007


Parameters

Parameter Description Default
state State of the collapse: collapsed or expanded or autocollapse
autocollapse will collapse if 2 or more collapseable are used
autocollapse
border Border width and type (style="border:{{{border|}}};") none
bg1 Titlebar background color transparent
ta1 Titlebar text-alignment left
extra1 Any extra styles to apply to titlebar (nothing)
header (or title) Title shown on titlebar (nothing)
bg2 Body background color transparent
ta2 Body text-alignment left
extra2 Any extra styles to apply to body (nothing)