Template:Ifeq: Difference between revisions

From The Pokemon Insurgence Wiki
UDie2day (talk | contribs)
Testing if statement
 
(No difference)

Latest revision as of 22:43, 29 January 2015

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Ifeq/doc to edit this documentation. (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|"{{Rand|1}}"|"1"| [[File:151s.png|50px|]] | [[File:151.png|50px|]] }} gives " "
  • {{ifeq|"{{Rand|2}}"|"0"| [[File:151s.png|50px|]] | [[File:151.png|50px|]] }} gives " "

5219