Template:CheckTrueFalse: Difference between revisions
Jump to navigation
Jump to search
GameMaster (talk | contribs) No edit summary |
GameMaster (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|{{#ifeq:{{{1|}}}|true|true|{{#ifeq:{{{1|}}}|false|false|}}}}|{{#if:{{{2|}}}|true|false}}}}</includeonly><noinclude> | <includeonly>{{#if:{{{1|}}}|{{#ifeq:{{{1|}}}|true|true|{{#ifeq:{{{1|}}}|false|false|}}}}|{{#if:{{{2|}}}|true|false}}}}</includeonly><noinclude> This set a parameter to true or false. | ||
==Example use== | ==Example use== | ||
<nowiki>{{checkTrueFalse|true}} | <nowiki>{{checkTrueFalse|true}} |
Revision as of 02:56, 11 March 2017
This set a parameter to true or false.
Example use
{{checkTrueFalse|true}} {{checkTrueFalse|false}} {{checkTrueFalse||true}} {{checkTrueFalse|}} {{checkTrueFalse|false|true}}
true
false
true
false
false