Template:IfMatch

From Elanthipedia
Revision as of 13:10, 22 April 2008 by CARAAMON (talk | contribs) (Add custom error messages)
Jump to navigation Jump to search


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 |error= a custom error message may be returned on no match.

Syntax

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

Additional options:
|error=