Template:IsOneOf
From Dragon Mania Legends (DML) Wiki
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
Example(s)
{{IsOneOf| Hi | Hello | Welcome | Seas }}
gives ""{{IsOneOf| Hi | Hello | Welcome | Hi | Seas }}
gives "1"{{IsOneOf| WeLcOmE | HELLO | WELCOME | HI | SEAS }}
gives "1"
Tests if, and returns, 1 if {1} is equal to one of the other parameters (max. 5, capitalization is ignored). Returns [empty] if none of the parameters matches. Used by multiple templates.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | Text to test if it equals one of the other parameters (no capitalization)
| String | required |
Text 1 | 2 | Text to test against
| String | required |
Text 2 | 3 | Text to test against
| String | optional |
Text 3 | 4 | Text to test against | String | optional |
Text 4 | 5 | Text to test against | String | optional |
Text 5 | 6 | Text to test against | String | optional |