Template:if both: Difference between revisions
Jump to navigation
Jump to search
(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>") |
(No difference)
|
Latest revision as of 15:14, 11 February 2023
Usage
{{if both|VAL1|VAL2|THEN|ELSE}} returns THEN if both VAL1 and VAL2 are non-empty, otherwise ELSE.