Template:AND/doc
From Feed The Beast Wiki
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