Template:HideButton/doc


 * Description
 * This template generates a show/hide button using the native Collapsing feature by MediaWiki and the script ShowHide.js. Use it in combination with the template HideContent.


 * Syntax
 * Type HideButton wherever you want to place the button, with parameters as shown below:


 * id - A unique identifier that must be the same than the one used in HideContent.
 * visible - Type this optionally if you want the content to be visible by default instead of hidden. If you use it, you must type it in the other template as well.


 * Type HideContent wherever you want to place the content that is going to be hidden, with parameters as shown below:


 * id - Same as HideButton.
 * content - The content that is going to be hidden.
 * visible - Same as HideButton.


 * Examples


 * Content hidden by default


 * Code:


 * 


 * 


 * Result:






 * Content visible by default


 * Code:


 * 


 * 


 * Result: