Template talk:Validate list

Not sure what the purpose of passing an argument list with % separators on each item in the list, since this template only compares value with the part before the % sign on the list, and then assigns the output as the same part before the % sign.

So with a list defined as "iron%iron (forge), glass%glass (forge)" Then passing a value = iron will return iron... And passing a value = iron (forge) will return nothing/fail value...

I think it was intended for the output to include a 1 in the explode function, but not all lists will have a % in them, causing the funtion to return nothing if this is the case.