Difference between revisions of "Template:Hidden begin"
(Optional "expanded") |
m (1 revision) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#ifeq:{{{toggle|}}}|left | + | -->{{#ifeq:{{{showhide|}}}{{{toggle|}}}|left |
− | + | | <!------------------------------------------------------------------------ | |
− | + | showhide = left, so place [show/hide] link on lefthand side: | |
− | + | ------------------------------------------------------------------------- | |
− | + | --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="position:relative;width:100%;border:{{{border|none}}};{{{style|}}}"><!-- | |
− | + | --><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<!--(should place text just after [show/hide])-->; | |
− | + | text-align:left;font-weight:bold;{{{titlestyle|}}}"> <!--deprecated:-->{{{header|}}}<!---->{{{title|}}}</div><!-- | |
− | + | --><div class="NavContent" style="padding-left:0.3em;text-align:left;{{{bodystyle|{{{contentstyle|}}}}}}"><!-- | |
− | -->| <!------------------------------------------------------------ | + | -->| <!------------------------------------------------------------------------ |
− | + | showhide /= left, so place [show/hide] link on righthand side: | |
− | + | ------------------------------------------------------------------------- | |
− | + | --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}}" style="border:{{{border|none}}};{{{style|}}}"><!-- | |
− | + | --><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|{{{contentstyle|}}}}}}"><!-- | |
− | -->}}</includeonly><noinclude | + | -->}}</includeonly><noinclude>{{Documentation}}</noinclude> |
− | |||
− | |||
− | |||
− | |||
− | </noinclude> |