Difference between revisions of "Template:Showhide"
m |
m |
||
Line 1: | Line 1: | ||
− | <span class="_togglegroup _toggle_initshow _toggle _toggler toggle-visible" style="display:none;"><div style="display: inline; white-space: nowrap; background-color: #F0F0F0; border: 1px solid #888; margin-bottom: 4px; padding: 4px;">show details ▼</div></span><span class="_toggle_inithide _toggle _toggler toggle-hidden" style="display:none;"><div style="display: inline; white-space: nowrap;background-color: #F0F0F0; border: 1px solid #888; margin-bottom: 4px; padding: 4px;">hide details ▲</div></span> | + | <span class="_togglegroup _toggle_initshow _toggle _toggler toggle-visible" style="display:none;"><div style="display: inline; white-space: nowrap; background-color: #F0F0F0; border: 1px solid #888; {{box-shadow|1px|1px|2px|#444}}; {{border-radius|0.3em}}; margin-bottom: 4px; padding: 4px;">show details ▼</div></span><span class="_toggle_inithide _toggle _toggler toggle-hidden" style="display:none;"><div style="display: inline; white-space: nowrap;background-color: #F0F0F0; border: 1px solid #888; {{box-shadow|1px|1px|2px|#444}}; {{border-radius|0.3em}}; margin-bottom: 4px; padding: 4px;">hide details ▲</div></span> |
− | <div class="_toggle_inithide _toggle toggle-hidden" style="padding-bottom:7px; border: 1px solid #888; margin-bottom: 4px; padding: 4px;"><noinclude> | + | <div class="_toggle_inithide _toggle toggle-hidden" style="padding-bottom:7px; border: 1px solid #888; {{box-shadow|1px|1px|6px|#444}}; {{border-radius|0.75em}}; margin-bottom: 4px; padding: 4px;"><noinclude> |
Details... | Details... | ||
</div> | </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. | 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> | </noinclude> |
Revision as of 20:46, 27 January 2012
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.