Template:IfAND: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 3: Line 3:
This template will accept 10 variable names and return 1 if they all exist and nothing if any one of them is nonexistant or whitespace.
This template will accept 10 variable names and return 1 if they all exist and nothing if any one of them is nonexistant or whitespace.
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates for Templates|{{PAGENAME}}]]
<pre>
<pre>
{{IfAND|variable1|...|variable10}}
{{IfAND|variable1|...|variable10}}

Revision as of 22:09, 17 April 2008

Use

This template will accept 10 variable names and return 1 if they all exist and nothing if any one of them is nonexistant or whitespace.

{{IfAND|variable1|...|variable10}}