Template:CheckTrueFalse: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
{{checkTrueFalse|}}
{{checkTrueFalse|}}


{{checkTrueFalse|false|true}}</nowiki>
{{checkTrueFalse|false|true}}
 
{{checkTrueFalse|nottrue|}}
 
{{checkTrueFalse||nottrue}}</nowiki>


{{checkTrueFalse|true}}
{{checkTrueFalse|true}}
Line 21: Line 25:
{{checkTrueFalse|false|true}}
{{checkTrueFalse|false|true}}


{{checkTrueFalse|error|}}
{{checkTrueFalse|nottrue|}}


{{checkTrueFalse||nottrue}}
[[Category:Templates]]
[[Category:Templates]]

Revision as of 14:25, 11 March 2017

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

Example use

{{checkTrueFalse|true}}

{{checkTrueFalse|false}}

{{checkTrueFalse||true}}

{{checkTrueFalse|}}

{{checkTrueFalse|false|true}}

{{checkTrueFalse|nottrue|}}

{{checkTrueFalse||nottrue}}

true

false

true

false

false

Error! Template only support boolean value of true or false.

true