Template:Hidden begin: Difference between revisions
From Vigyanwiki
No edit summary |
(Added style parameter per talkpage suggestion) |
||
Line 4: | Line 4: | ||
showhide = left, so place [show/hide] link on lefthand side: | showhide = left, so place [show/hide] link on lefthand side: | ||
------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ||
--><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative; width:100%; border:{{{border|none}}};"><!-- | --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative;width:100%;border:{{{border|none}}};{{{style|}}}"><!-- | ||
--><div class="NavHead" style="position:absolute; width:3.2em | --><div class="NavHead" style="position:absolute;width:3.2em<!--(to accommodate "[show]")-->;background:transparent;"></div><!-- | ||
--><div style="font-size:100%; height:1.6em; background:transparent; padding-left:2.8em | --><div style="font-size:100%;height:1.6em;background:transparent;padding-left:2.8em<!--(should place text just after [show/hide])-->; | ||
text-align:left; font-weight:bold; {{{titlestyle|}}}"> <!--deprecated:-->{{{header|}}}<!---->{{{title|}}}</div><!-- | text-align:left;font-weight:bold;{{{titlestyle|}}}"> <!--deprecated:-->{{{header|}}}<!---->{{{title|}}}</div><!-- | ||
--><div class="NavContent" style="padding-left:0.3em; text-align:left; {{{bodystyle|}}}"><!-- | --><div class="NavContent" style="padding-left:0.3em;text-align:left;{{{bodystyle|}}}"><!-- | ||
-->| <!------------------------------------------------------------------------ | -->| <!------------------------------------------------------------------------ | ||
showhide /= left, so place [show/hide] link on righthand side: | showhide /= left, so place [show/hide] link on righthand side: | ||
------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ||
--><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="border:{{{border|none}}};"><!-- | --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="border:{{{border|none}}};{{{style|}}}"><!-- | ||
--><div class="NavHead" style="background:{{{bg1|transparent}}}; text-align:{{{ta1|left}}}; {{{extra1|}}} {{{titlestyle|}}}"><!-- | --><div class="NavHead" style="background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{extra1|}}} {{{titlestyle|}}}"><!-- | ||
deprecated:-->{{{header|}}}<!---->{{{title|}}} </div><!-- | deprecated:-->{{{header|}}}<!---->{{{title|}}} </div><!-- | ||
--><div class="NavContent" style="background:{{{bg2|transparent}}}; text-align:{{{ta2|left}}}; {{{extra2|}}} {{{bodystyle|}}}"><!-- | --><div class="NavContent" style="background:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{extra2|}}} {{{bodystyle|}}}"><!-- | ||
-->}}</includeonly><noinclude>{{Documentation}}</noinclude> | -->}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 14:17, 24 June 2014
Template documentation
[create]