Board Thread:Support Requests - Getting Technical/@comment-26097663-20191027010307/@comment-9605025-20191027035840

Interesting. It appears to be specific to having the images in the input to the parser function. Using a normal string works just fine. Have you considered separating the type from the amount portion of the info? You don't have to have a data tag for each parameter and you can use parameters outside of their data tag. I am thinking separate "damage" into "damage type" and "damage amount". I am also thinking that instead of passing in the wikitext for the images, just pass in the name of the type of damage and then use the switch parser function inside the template to select the correct image and color. That way you also avoid needing the variables extension. For example: I am not sure what: ,, is supposed to do or if that was just you testing stuff. Also, you will probably want to set default values for cases where the damage type is not a recognized value.

Also, you might be able to do away with the label tag rather than hiding the contents. Also, you can probably arrive at a simply template by moving some of the styling to site CSS.