Template:IfMatch: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(New page: <noinclude> 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".<br> <b>Note:</b> The match is case...)
 
mNo edit summary
Line 5: Line 5:
{{IfMatch | matchstring | variable1 | variable2 | .... | variable10}}
{{IfMatch | matchstring | variable1 | variable2 | .... | variable10}}
</pre>
</pre>
[[Category:Templates]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
<includeonly>
<includeonly>

Revision as of 21:57, 17 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}}