Template:CheckTrueFalse

From Shadow Chronicles - Game Master
Jump to navigation Jump to search

This support a true or false value with default false (can be changed).

Example use

{{checkTrueFalse|true}}       // true
{{checkTrueFalse|false}}      // false
{{checkTrueFalse||true}}      // 
{{checkTrueFalse|}}           // false
{{checkTrueFalse|false|true}} // false
{{checkTrueFalse|nottrue|}}   // Error! Condition only support boolean value of true or false.
{{checkTrueFalse||nottrue}}   //