Difference between revisions of "Hidden begin"
From Unofficial Stationeers Wiki
(marked "toggle" as deprecated, CSS style order) |
|||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#ifeq:{{{showhide|}}}{{{toggle|}}}|left | + | -->{{#ifeq:{{{showhide|}}}<!--deprecated:-->{{{toggle|}}}|left |
− | | <! | + | | <!------------------------------------------------------------------------ |
− | + | showhide = left, so place [hide/show] link on lefthand side: | |
− | + | ------------------------------------------------------------------------- | |
− | --><div class="NavFrame {{#if:{{{expanded|}}}||collapsed}}" style="width:100% | + | --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative; width:100%; border:{{{border|none}}};"><!-- |
− | --><div class="NavHead" style="width:2.8em; background:transparent | + | --><div class="NavHead" style="position:absolute; width:2.8em; background:transparent;"></div><!-- |
− | --><div style="height:1.6em; background:transparent | + | --><div style="font-size:100%;height:1.6em; background:transparent; padding-left:2.3em; text-align:left; font-weight:bold; {{{titlestyle|}}}"><!-- |
--> <!--(deprecated:)-->{{{header|}}}<!---->{{{title|}}}</div><!-- | --> <!--(deprecated:)-->{{{header|}}}<!---->{{{title|}}}</div><!-- | ||
− | --><div class="NavContent" style=" | + | --><div class="NavContent" style="padding-left:0.3em; text-align:left; {{{bodystyle|}}}"><!-- |
− | -->| <! | + | -->| <!------------------------------------------------------------------------ |
− | + | showhide /= left, so place [hide/show] link on righthand side: | |
− | + | ------------------------------------------------------------------------- | |
− | --><div class="NavFrame {{#if:{{{expanded|}}}||collapsed}}" style="border:{{{border|none}}};"><!-- | + | --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="border:{{{border|none}}};"><!-- |
--><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><!-- | |
--><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> |