Template:Hidden begin: Difference between revisions
From Vigyanwiki
m (typo correction) |
({{{type}}} →{{{toggle}}}) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><div class="NavFrame" style="border:{{{border|none}}};"><!-- | --><div class="NavFrame" style="border:{{{border|none}}};"><!-- | ||
-->{{# | -->{{#ifeq:{{{toggle|}}} |<!--equals:-->left | ||
|<!--then: | |<!--then: | ||
---------------------------------------------------------------- | |||
toggle=left, so format [hide/show] link on lefthand side: | |||
---------------------------------------------------------------- | |||
--><div class="NavFrame" style="width:100%; position:relative; border:{{{border|none}}};"><!-- | |||
--><div class="NavHead" style="width:2.3em; background:transparent; position:absolute;"></div><div style="height:1.6em; background:transparent; text-align:left; padding-left:2em; font-size:100%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</div><!-- | |||
--><div class="NavContent" style="text-align:left; padding-left:0.3em; {{{bodystyle|}}}"><!-- | |||
-->|<!--else: | -->|<!--else: | ||
------------------------------------------------------------- | |||
toggle/=left, so format [hide/show] link on righthand side: | |||
------------------------------------------------------------- | |||
--><div class="NavFrame" style="border:{{{border|none}}};"><!-- | |||
--><div class="NavHead" style="background:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}} {{{titlestyle|}}}"><!---deprecated:--->{{{header|}}}<!----> {{{title|}}} </div><!-- | |||
--><div class="NavContent" style="background-color:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!-- | |||
-->}}</includeonly><noinclude><!-- | -->}}</includeonly><noinclude><!-- |