Template:Ifeqany/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Ifeqany (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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.