Template:Ifeq

Template documentation

Usage

edit

With this template #ifeq can be used in a way such that it does not strip spaces and newlines from the "then" and "else" part.

Examples

edit
  • {{ifeq|x|x| p | q }} gives " p "
  • {{ifeq|x|y| p | q }} gives " q "