MediaWiki:Common.js

This template hide a text or an element, like another template. This template needs the following Java Script, if not already present,: and this script: Both of them to be placed in MediaWiki:Common.js.
 * Description
 * Dependencies

Type  where you want to show/hide the text. If the text to be hidden is a table, it is advisable to use the two-part version of the template:
 * Syntax

…some complex text, e.g. a table…


 * Parameters
 * text: the text to be hidden - free.
 * 1= text to be hidden, if contains the equal sign "=" - free.
 * mode= can be equal to start or end.
 * showbutton= the text on which one must click to show. Defaults to [show].
 * hidebutton= the text on which one must click to hide. Defaults to [hide]

results in:
 * Samples

results in:

results in

results in:

- http://openwetware.org/wiki/Template:Hide openwetware.org
 * Models