Template:if both

From Laenkea
Revision as of 15:14, 11 February 2023 by Maria (talk | contribs) (Created page with "{{#if: {{{1|}}} | {{#if: {{{2|}}} | {{{3|}}} | {{{4|}}} }} | {{{4|}}} }}<noinclude> ==Usage== <code><nowiki>{{if both|VAL1|VAL2|THEN|ELSE}}</nowiki></code> returns <code>THEN</code> if both <code>VAL1</code> and <code>VAL2</code> are non-empty, otherwise <code>ELSE</code>. Category:Control flow templates </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{if both|VAL1|VAL2|THEN|ELSE}} returns THEN if both VAL1 and VAL2 are non-empty, otherwise ELSE.