Template:Ifeqany

From Wikipedia, the free encyclopedia

[edit] Template documentation

This template compares (unnamed) parameters (up to two dozen). The output of the template is specified by optional parameters {{{y}}} and {{{n}}}.

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