Difference between revisions of "Template:Hidden begin"
From Timelines
(sync the toggle=left and toggle=right versions) |
|||
(103 intermediate revisions by 25 users not shown) | |||
Line 1: | Line 1: | ||
− | <div class="NavFrame" style="border: none;"><div class="NavFrame" style="border: none;"> | + | <noinclude>{{hatnote|Templates {{noredirect|Template:Begin hidden|Begin hidden}}, {{noredirect|Template:Start hidden|Start hidden}} and {{noredirect|Template:Start hidden section|Start hidden section}} redirect here.}}</noinclude><!-- |
− | <div class="NavHead" style="background | + | --><includeonly><!-- |
− | <div class="NavContent" style="background | + | -->{{#ifeq:{{{showhide|}}}{{{toggle|}}}|left |
+ | | <!------------------------------------------------------------------------ | ||
+ | showhide = left, so place [show/hide] link on lefthand side: | ||
+ | ------------------------------------------------------------------------- | ||
+ | --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}} {{{class|}}}" 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:{{{ta1|left}}};font-weight:bold;{{{extra1|}}}{{{titlestyle|{{{headercss|}}}}}}"> <!--deprecated:-->{{{header|}}}<!---->{{{title|}}}</div><!-- | ||
+ | --><div class="NavContent" style="padding-left:0.3em;text-align:{{{ta2|left}}};{{{extra2|}}}{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"><!-- | ||
+ | |||
+ | -->| <!------------------------------------------------------------------------ | ||
+ | showhide /= left, so place [show/hide] link on righthand side: | ||
+ | ------------------------------------------------------------------------- | ||
+ | --><div class="NavFrame {{#if:{{{expanded|}}} | |collapsed}} {{{class|}}}" style="border:{{{border|none}}};{{{style|}}}"><!-- | ||
+ | --><div class="NavHead" style="background:{{{bg1|transparent}}};text-align:{{{ta1|left}}};{{{extra1|}}}{{{titlestyle|{{{headercss|}}}}}}"><!-- | ||
+ | deprecated:-->{{{header|}}}<!---->{{{title|}}} </div><!-- | ||
+ | --><div class="NavContent" style="background:{{{bg2|transparent}}};text-align:{{{ta2|left}}};{{{extra2|}}}{{{bodystyle|{{{contentstyle|{{{contentcss|}}}}}}}}}"><!-- | ||
+ | |||
+ | -->}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 05:29, 8 August 2015
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |