Show / Hide Contents
Jump to navigation
Jump to search
The Show Contents button and Hide Contents button on the TNG WikiEditor toolbar work as a pair to add the necessary wiki syntax to show and hide contents.
The Show Contents button is used before the text you want to hide and it generates:
<div class='mw-collapsible mw-collapsible-content' id='mw-customcollapsible-sb1'>
<span class='mw-customtoggle-sb1 mw-customtoggle-sbdiv' style='text-decoration:underline;float:right;'>[Show Content]</span></div>\n
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-sbdiv'>
and adds a [Show Contents] button that allows you to toggle the display.
The Hide Contents button is used after the text you want to initially hide and it generates:
<div class='mw-customtoggle-sb1 mw-customtoggle-sbdiv' style='text-decoration:underline;float:right;'>[Hide Content]</div></div>
and adds a [Hide Contents] button that allows you to toggle the display.