Template:Switch/doc

Format switches set by the game.

Each switch can be set on or off. According to the parameters given, this template is able to display the name of the switch, the state/value of the switch, or both.

Usage
The first parameter is mandatory and any chain of characters (or words) is accepted and interpreted as a name. However, certain values are interpreted as state and translated accordingly. These exceptions are:


 * ,,  ,   &rarr; translate to
 * ,,  ,   &rarr; translate to

Also, the aforementioned values are the only accepted values for the second parameter, which is optional. Invalid values are ignored.

Examples
First parameter only:


 * gives
 * gives

Displaying name and value by using the second parameter, too.


 * gives
 * gives