Template:CheckTrueFalse: Difference between revisions

From Shadow Chronicles - Game Master
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>{{#if:{{{1|}}}|{{#ifeq:{{{1|}}}|true|true|{{#ifeq:{{{1|}}}|false|false|}}}}|{{#if:{{{2|}}}|true|false}}}}</includeonly><noinclude>
{{#ifeq:{{{1|}}}
|
{{#if:{{{2|}}}|
  {{#ifeq:{{{2|}}}|false|false|
  {{#ifeq:{{{2|}}}|true|true|
  }}
  }}|{{{1|}}}
}}
|
{{#if:{{{2|}}}|
  {{#ifeq:{{{2|}}}|true|true|
  {{#ifeq:{{{2|}}}|false|false|
  }}
  }}|true
}}
|
{{#if:{{{2|}}}|
  {{#ifeq:{{{2|}}}|false|false|
  {{#ifeq:{{{2|}}}|true|true|
  }}
  }}|false
}}
}}</includeonly><noinclude>


==Example use==
==Example use==

Revision as of 02:54, 11 March 2017


Example use

{{checkTrueFalse|true}}

{{checkTrueFalse|false}}

{{checkTrueFalse||true}}

{{checkTrueFalse|false|true}}

true

false

true

false