Jump to content

Template:Ifeq

From Elite Dangerous Wiki
Revision as of 20:34, 23 March 2017 by Wikipedia>Jo-Jo Eumerus (Changed protection level for "Template:Ifeq": Allowing template editors ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Ifeq/doc" to edit its documentation if it is available. (How does this work?)

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