Board Thread:Support Requests - Getting Technical/@comment-653063-20150218021309

I have a phantom (pre)-tag showing up in the HTML in my page, but as far as I can tell, there's no corresponding code in the template to cause it.

On http://disgaea.wikia.com/wiki/Celestial_Host_%28Disgaea%29 - on the right hand side, in the tabber box, at the very bottom (of any of the tabs), is a purple box that says 'Reincarnation Costs'. Under 'Incompetent', there's a code flaw happening. The HTML is this: (td) 3 Mana (/td)(td) 30 (pre)Mana || 150 Mana (/pre) (/td) I have replaced brackets with parentheses to avoid accidental parsing.

The template is here: http://disgaea.wikia.com/wiki/Template:TierStats I'm sorry it's so friggin giant. As far as I can tell, the part of the code where the error is occuring is this: | Mana   Mana   Mana It's that middle 'Mana', the cell that isn't doing any math to the number being passed.

I don't understand #expr; I don't understand how the part of the 'celestial host' page where I have a template cell that just says "|30" knows to pass that number to the "1|500 Mana" cell. I copied this piece of code from another template on the site and hammered it into place in this template. But I'm pretty sure the pre-tags are just right out. (ALSO I will point out: the 'reincarnate' box code did not cause this problem when I was testing it in my Sandbox. I'm sooooo tired of code working differently in my Sandbox vs when I put it in live site pages.) What's causing, and how do I fix? And/or, what do I even Google to figure this out?

Thanks for your help.

(Edited in later: In case any newbie editor comes across this post later, I did eventually learn about "named vs anonymous parameters," which is why that "|30" is passed to the #expr. So if you, too, are confused, go look that up and save yourself about three days of wtf'ing.) 