Template:Ifeq/doc

From The Pokemon Insurgence Wiki
< Template:Ifeq
Revision as of 05:09, 30 January 2015 by UDie2day (talk | contribs) (Using this as the page to test shiny sprite thingy.)

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 " 151.png "
  • {{ifeq|"{{Rand|1}}"|"0"| [[File:151s.png|50px|]] | [[File:151.png|50px|]] }} gives " 151s.png "