Template:Hidden begin: Difference between revisions
From Vigyanwiki
(rv) |
(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)) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div class="NavFrame | --><div class="NavFrame" style="border:{{{border|none}}};"><!-- | ||
--><div class="NavFrame | --><div class="NavFrame" style="border:{{{border|none}}};"><!-- | ||
--><div class="NavHead | --><div class="NavHead" style="background-color:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}}">{{{header|}}}{{{title|}}} </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> | ||
Line 8: | Line 8: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Parameter !! Description !! Default<tr/> | ! Parameter !! Description !! Default<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> | ||
Line 18: | Line 17: | ||
| ''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> |
Revision as of 01:02, 23 March 2007
Parameters
Parameter | Description | Default |
---|---|---|
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) |