Template:IfMatch: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 36: Line 36:
* [[Template:IfAND]]
* [[Template:IfAND]]
* [[Template:IfOR]]
* [[Template:IfOR]]
* [[Template:IfTHEN]]
* [[Template:IfXOR]]
* [[Template:IfXOR]]
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]

Revision as of 14:31, 22 April 2008


Usage Documentation

This template will accept one variable which it will compare to up to 10 other variables. If any of them match the first, it will return "1".
Note: The match is case insensitive.

By specifying |true= and |false= a custom strings may be returned on match and no match.

Syntax

{{IfMatch | matchstring | variable1 | variable2 | .... | variable10}}

Additional options:
|true=
|false=

Also See