Wikipedia

Template:Ifeq

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

This template is like #ifeq, but does not trim the "then" and "else" part.

Usage

  • {{ifeq|"abc"|"abc"| 1 | 0 }} gives " 1 "
  • {{ifeq|"abc"|"def"| 1 | 0 }} gives " 0 "
  • {{ifeq|{{PAGENAME}}|Ifeq| 1 | 0 }} gives " 1 "

See also

What is this?