Thread:Harasar/@comment-24800939-20190121025526/@comment-1487274-20190121141142

Parser functions, like "explode", strip any whitespace, newlines, tabs, and spaces from the beginning and end of all of its parameters. Normally, it is good. But in Template:Member of it is a problem, because these parts of template: and  are used to divide team name, like "Avengers (Earth-TRN258)", into parts. Space at the start of " (Earth-" is automatically stripped, so instead of "Avengers" it returns "Avengers " (with space at the end).

It can be solved by adding "nowiki" around the space in these parameters. Example and working template is here - User:Harasar/Sandbox/Member of. I've tested it with different variants - everything works. So, you need to replace code in Template:Member of with code from User:Harasar/Sandbox/Member of.