Template:XC1 material value

Returns the value of a given material. Returns 0 if the item is not found.