Template:AND/doc

From ATLauncher Wiki
Jump to: navigation, search

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}} gives true
  • {{AND|foo|}} gives (nothing)
  • {{AND||}} gives (nothing)
  • {{AND|foo|bar|yup|nope}} gives yup
  • {{AND|foo||yup|nope}} gives nope

See also[edit]