Template:IfMatch: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 32: | Line 32: | ||
|false= |
|false= |
||
</pre> |
</pre> |
||
==Also See== |
|||
* [[Template:IfAND]] |
|||
* [[Template:IfOR]] |
|||
* [[Template:IfXOR]] |
|||
[[Category:Templates|{{PAGENAME}}]] |
[[Category:Templates|{{PAGENAME}}]] |
||
[[Category:Templates for Templates|{{PAGENAME}}]] |
[[Category:Templates for Templates|{{PAGENAME}}]] |
Revision as of 13:58, 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=