Template:Both

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

{{both|string1|string2}}

Produces 1 (equivalent to a true condition) if both string1 and string2 are non-empty; otherwise produces the empty string (false condition).