24,543
ARTICLES
ON THIS WIKI
ON THIS WIKI
Template:AND
Template documentation (for the above template, sometimes hidden or invisible)
Contents
This template functions as a binary AND operation. It will only return a value if both the first and second parameters are given.
Syntax[edit]
{{AND|<condition 1>|<condition 2>|<true output>|<false output>}}
Examples[edit]
-
{{AND|foo|bar}}
givestrue
-
{{AND|foo|}}
gives(nothing)
-
{{AND||}}
gives(nothing)
-
{{AND|foo|bar|yup|nope}}
givesyup
-
{{AND|foo||yup|nope}}
givesnope
See also[edit]
Twitter Feed
Warning: file_get_contents(/srv/common/): failed to open stream: No such file or directory in /var/www/html/skins/MMWiki/SkinMMWiki.php on line 392
Discussion
To discuss the topics on this wiki, you can visit our community forums!