Contents

Purpose

Usage

To use this template, use either the standard format {{Hide| content }}
or the named parameter format:

{{Hide
|show=
|hide=
|content=
}}

show — This specifies the text of the link that shows the content that is initially hidden. (Optional - [show])

hide — This specifies the text of the link that switches the content back to being hidden. (Optional - [hide])

content — This specifies the content you want to be able to hide (Optional )

Advanced Usage

If this isn't enough, the template can be used in parts instead, for more flexible use within tables and div boxes. Advanced wiki-coding knowledge is suggested for using the hide template in this way.
For advanced usage, use this code:

The button can be placed anywhere before {{hide|~content}}. It will only affect the next instance of {{hide|~content}}. Future instances require another button. The style parameter for the button is to add styling for the button's span tags. This parameter styles both the show and hide version of the button. To style each version of the button seperately, omit the style parameter and instead use the showstyle and hidestyle parameters to style the show and hide version of the button, respectively.The style parameter on the content is to enter any styling directly in to the div for the content, in addition to any other styling you use outside of it. You can delete the show and hide parameters if you do not wish to change them from their defaults.

Note that you can also use images in place of text for the buttons. However, in order for them to function properly, the images must be set to link to nothing, instead of some other page or its own page.

Show All and Hide All

There is a special button available that can affect all instances of the hide template on a page. It will open all instances of the hide template on the page, clicking it again will hide all of them.

To use the button, you can just use:
{{Hide| ~all }}

For more advanced handling, the following is available

{{Hide|~all|showtext=|showstyle=|hidetext=|hidestyle=}}

showtext — Text text displayed for the show all version of the button. (Optional - [show all])

showstyle — Any styling options to apply to the show all version of the button if desired. (Optional )

hidetext — The text to show for the button to hide all the content again. (Optional - [hide all])

hidestyle — Any styling options to apply to the hide all version of the button if desired. (Optional )