Template:IfMatch: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
</includeonly> |
</includeonly> |
||
<noinclude> |
<noinclude> |
||
{{essential}} |
|||
==Usage Documentation== |
==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".<br> |
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> |
Revision as of 21:12, 27 May 2008
Essential Template
- This template is so essential that it has been protected to prevent tampering.
- If you have suggestions to extend its function or have observed bugs, please post to the discussion page.
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=