Template:ShowHide

From 100% Orange Juice Wiki
Jump to: navigation, search
Template-info.png Template documentation
This template is used to show or hide items and pieces of text. The 'NoSpaceID' parameter allows multiple ShowHide templates within the same post to have independent functionality. While the 'div/span' parameter allows to switch between treating the hidden text as a paragraph (div) and in-line text (span).
Syntax
Type {{ShowHide|Button name|Hidden content|NoSpaceID|div/span}}
Sample output
{{ShowHide|Click me!|Reveals what I'm hiding...|FirstID|div}}
gives...
Reveals what I'm hiding...
{{ShowHide|Click me too!|is complete|SecondID|span}}
gives...
...example

is complete

now.