Difference between revisions of "IfAnd"
From Titan's Teeth
Dicemonger (talk | contribs) (Created page with "{{#if: {{{1|}}}|{{#if: {{{2|}}}|{{{3}}}|}}|}}") |
Dicemonger (talk | contribs) |
||
Line 1: | Line 1: | ||
− | {{#if: {{{1|}}}|{{#if: {{{2|}}}|{{{3}}}|}}|}} | + | <includeonly>{{#if: {{{1|}}}|{{#if: {{{2|}}}|{{{3}}}|}}|}}</includeonly><noinclude>Check whether both variables are nonempty, and if true display the result. |
+ | |||
+ | Usage: <nowiki>{{IfAnd|var1|var2|result}}</nowiki><br> | ||
+ | Example: <nowiki>{{IfAnd|{{{1|}}}|{{{2|}}}|<br>}}</nowiki></noinclude> |
Latest revision as of 14:10, 20 November 2019
Check whether both variables are nonempty, and if true display the result.
Usage: {{IfAnd|var1|var2|result}}
Example: {{IfAnd|{{{1|}}}|{{{2|}}}|<br>}}