Template:Ifeqany/doc

This template compares the first unnamed parameter to each of the subsequent (unnamed) parameters (up to two dozen). The output of the template is specified by optional parameters and.

Code
#

Details

 * If both and  are specified, the template returns  if there is a match or  otherwise.
 * If only one of or  is specified, the template returns nothing in place of the unspecified one.
 * If neither nor  are specified, the template returns 1 if there is a match or 0 otherwise.