Template:Switch/doc

This template is used to do create a switch between two images, useful for Char Box.
 * Description

This template uses Toggle and its related JavaScripts.
 * Dependencies


 * Syntax


 * Parameters
 * opotion1= the text associated with image 1 (this is the default text) - optional, default:.
 * image1/1= the default image to be displayed, can be given as first free parameter.
 * opotion2= the text associated with image 2 - optional, default:.
 * image2/2= the secondary image, can be given as second free parameter.

The basic way
 * Samples

placed in Char Box like

gives:

With custom options:

placed in Char Box like {{Char Box |option1 = Second part |image1 = |option2 = First part |image2 = }}
 * colorscheme      = StrawHatPiratesColors
 * name             = Monkey D. Luffy
 * image            = {{Switch
 * jname            = モンキー･D･ルフィ