Template:CheckTrueFalse: Difference between revisions

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



Revision as of 02:46, 11 March 2017


Example use

{{checkTrueFalse|true}}

{{checkTrueFalse|false}}

{{checkTrueFalse||true}}

{{checkTrueFalse|false|true}}


false


true


true


true