Template:CheckTrueFalse: Difference between revisions
Jump to navigation
Jump to search
GameMaster (talk | contribs) No edit summary |
GameMaster (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
-->}}</includeonly><noinclude>This support a true or false value with default false (can be changed). | -->}}</includeonly><noinclude>This support a true or false value with default false (can be changed). | ||
==Example use== | ==Example use== | ||
<nowiki>{{checkTrueFalse|true}}</nowiki> // {{checkTrueFalse|true}} | <nowiki>{{checkTrueFalse|true}}</nowiki> // {{checkTrueFalse|true}} | ||
<nowiki>{{checkTrueFalse|false}}</nowiki> // | <nowiki>{{checkTrueFalse|false}}</nowiki> // {{checkTrueFalse|false}} | ||
<nowiki>{{checkTrueFalse||true}}</nowiki> // | <nowiki>{{checkTrueFalse||true}}</nowiki> // {{checkTrueFalse||true}} | ||
<nowiki>{{checkTrueFalse|}}</nowiki> // | <nowiki>{{checkTrueFalse|}}</nowiki> // {{checkTrueFalse|}} | ||
<nowiki>{{checkTrueFalse|false|true}}</nowiki> // | <nowiki>{{checkTrueFalse|false|true}}</nowiki> // {{checkTrueFalse|false|true}} | ||
<nowiki>{{checkTrueFalse|nottrue|}}</nowiki> // | <nowiki>{{checkTrueFalse|nottrue|}}</nowiki> // {{checkTrueFalse|nottrue|}} | ||
<nowiki>{{checkTrueFalse||nottrue}}</nowiki> // | <nowiki>{{checkTrueFalse||nottrue}}</nowiki> // {{checkTrueFalse||nottrue}} | ||
[[Category:Templates]] | [[Category:Templates]] |
Latest revision as of 12:06, 17 April 2021
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}} //