Šablona:Hidden begin: Porovnání verzí
Z Wiki JU
hidden>David Kernow~enwikibooks (category) |
hidden>MECU (add capability to control collapse state, default to autocollapse, parameter is "state") |
||
Řádek 1: | Řádek 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div class="NavFrame" style="border:{{{border|none}}};"><!-- | --><div class="NavFrame {{{state|autocollapse}}}" style="border:{{{border|none}}};"><!-- | ||
--><div class="NavFrame" style="border:{{{border|none}}};"><!-- | --><div class="NavFrame" style="border:{{{border|none}}};"><!-- | ||
--><div class="NavHead" style="background-color:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}}">{{{header|}}}{{{title|}}} </div> | --><div class="NavHead" style="background-color:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}}">{{{header|}}}{{{title|}}} </div> | ||
Řádek 8: | Řádek 8: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Parameter !! Description !! Default<tr/> | ! 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> | | ''border'' || Border width and type (style="border:<nowiki>{{{border|}}}</nowiki>;") || none</tr> | ||
| ''bg1'' || Titlebar background color || transparent</tr> | | ''bg1'' || Titlebar background color || transparent</tr> | ||
Řádek 17: | Řádek 18: | ||
| ''extra2'' || Any extra styles to apply to body || (nothing)</tr> | | ''extra2'' || Any extra styles to apply to body || (nothing)</tr> | ||
|} | |} | ||
[[Category:Formatting templates|{{PAGENAME}}]] | [[Category:Formatting templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Verze z 22. 3. 2007, 19:44
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) |