Difference between revisions of "Template:Showhide"
(New page: <span class="_togglegroup _toggle_initshow _toggle _toggler toggle-visible" style="display:none;">[show information]</span><span class="_toggle_inithide _toggle _toggler toggle-hidden" sty...) |
m |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | {{#vardefine:varid |{{#expr:{{#var:varid}}+1}}}}<div class="mw-customtoggle-{{#var:varid}} pulldownbutton">'''{{{1|details}}}'''</div> |
− | <div | + | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-{{#var:varid}}"><noinclude> |
+ | Details... | ||
+ | </div> | ||
+ | This template is used to collapse a long section. When you start a segment using the ''<nowiki>{{showhide}}</nowiki>'' template, make sure you put ''<nowiki></div></nowiki>'' at the end of the segment. | ||
+ | </noinclude> |
Latest revision as of 14:56, 20 January 2018
Details...
This template is used to collapse a long section. When you start a segment using the {{showhide}} template, make sure you put </div> at the end of the segment.