Toggler

 

Usage
This template has to be use in parallel with toggling functions. It will only create the element that will be hidden/shown by the function


 * Parameter 1 : Default content
 * Parameter 2 : Replacement content (optional)
 * Parameter 3 : Toggle class name

Ex : To replace a text with another by clicking on a link change text change text

When the second parameter is empty, it allows to make the text from parameter 1 disappear hide text hide text

To change the content by using different link link to var2 link to var1

link to var2 | link to var1