Board Thread:New on My Singing Monsters Wiki/@comment-25404524-20161222212033/@comment-24577221-20161223032518

If you look at how the monster infobox is used, for example, you can see that in its code, it has separate elements for "buying price coin" and "buying price coin DoF". If the first one is used for the infobox, the value is displayed, along with the " " icon template right in the infobox code. If the second one is used instead, the value is displayed, along with the " " icon template in the infobox code. This lets us determine which of the icons is used, depending on which infobox element we specify, and everything works fine.

If, instead, we had only one "buying price coin" element, and tried to specify the price with something like "30,000 ", the wiki page couldn't be edited with the classic editor. That gets broken if one template is used as a parameter inside a call to another template.

There's another solution which you can see in the "monster elements" part of the monster infobox. If we had an infobox element called, say, "purchase_currency", the infobox code could include " ", and the infobox could be set up specifying "Coinsdof" as the "purchase_currency" value. That would then be substituted when the infobox was displayed, giving " ", which would then show the  icon.