Template:IfMatch: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 20: | Line 20: | ||
| {{lc:{{{10}}}}} |
| {{lc:{{{10}}}}} |
||
| {{lc:{{{11}}}}} = 1 |
| {{lc:{{{11}}}}} = 1 |
||
| |
|||
}} |
}} |
||
</includeonly> |
</includeonly> |
Revision as of 02:21, 18 April 2008
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.
{{IfMatch | matchstring | variable1 | variable2 | .... | variable10}}