Template:Ifeq/doc
Appearance
This is a documentation subpage for Template:Ifeq. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 17,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is like #ifeq, but does not trim the "then" and "else" part.
Usage
[edit]- {{ifeq|"abc"|"abc"| 1 | 0 }} gives " 1 "
- {{ifeq|"abc"|"def"| 1 | 0 }} gives " 0 "
- {{ifeq|{{PAGENAME}}|Ifeq| 1 | 0 }} gives " 0 "
See also
[edit]- {{If}}
- m:Template:Ifeq