Template:Ifeq
Jump to navigation
Jump to search
This template is like #ifeq, but does not trim the "then" and "else" part.
Usage
- {{ifeq|"abc"|"abc"| 1 | 0 }} gives " 1 "
- {{ifeq|"abc"|"def"| 1 | 0 }} gives " 0 "
- {{ifeq|{{PAGENAME}}|Ifeq| 1 | 0 }} gives " 1 "
See also
- {{If}}
- m:Template:Ifeq
The above documentation is transcluded from Template:Ifeq/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |