跳转到内容

模板:Ifeq/doc

来自天灾之下:危险连接资料站
wiki>Pppery (alt)2024年7月26日 (五) 04:27的版本 (→Usage:​clean up links to Meta, replaced: m:Help:Newlines → Manual:Newlines)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Usage

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

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