Template:Ifeq

Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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

Usage[edit source]

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

See also[edit source]

External links[edit source]