Template:Ifeq

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Template documentation

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 "