Difference between revisions of "Template:IfAnd"

From Epic Paths
Jump to navigation Jump to search
Tag: Reverted
(Undo revision 2861 by Admin (talk))
Tag: Undo
Line 16: Line 16:
</noinclude><!--
</noinclude><!--


--><includeonly>{{#if:{{{6|}}}|{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{#if:{{{5|}}}|{{KS| {{{6}}} }}}}}}}}}}}}|<!--
--><includeonly>{{#if:{{{6|}}}|{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{#if:{{{5|}}}|{{{6}}} }}}}}}}}}}|<!--
-->{{#if:{{{5|}}}|{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{KS| {{{5}}} }}}}}}}}}}|<!--
-->{{#if:{{{5|}}}|{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{#if:{{{4|}}}|{{{5}}} }}}}}}}}|<!--
-->{{#if:{{{4|}}}|{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{KS| {{{4}}} }}}}}}}}|<!--
-->{{#if:{{{4|}}}|{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{{4}}} }}}}}}|<!--
If 3 / IE 2 variables-->{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{KS| {{{3}}} }}}}}}<!--
If 3 / IE 2 variables-->{{#if:{{{1|}}}|{{#if:{{{2|}}}|{{{3}}} }}}}<!--
-->}}}}}}</includeonly>
-->}}}}}}</includeonly>

Revision as of 14:08, 20 November 2021

Requires up to 5 variables to be non-empty.


{{IfAnd|firstvar|secondvar|thirdvar|fourthvar|fifthvar|is true}}</nowiki>

Result: is true

{{IfAnd|firstvar|secondvar|is true}}</nowiki>

Result: is true

{{IfAnd||secondvar||is false}}</nowiki>

Result: