模板:Ifeq/doc
外观
< 模板:Ifeq
| 文件:Codex icon book color-base.svg | This is a documentation subpage for 模板:Ifeq. It contains usage information, categories and other content that is not part of the original 模板 page. |
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 "