Mimics Lua's and
operator, for use inside {{#if:}}
conditional statements.
Accepts any number of positional arguments, and trims them; if all arguments are non-empty, returns the last argument, otherwise returns the empty string.
Examples
{{and}}
{{and|a|}}
{{and||b}}
{{and|a|b}}
b
{{and|a|b| c }}
c
{{and|a|| c }}
See also
The above documentation is transcluded from Template:And/doc. (edit | history)