New engineering items
I like tackling difficult wiki questions, so I had a look at this. Basically you just have to nest the if commands, like in Template:LotS/LootRow, so I went ahead and changed Template:LotS/EpicLootRow to do the same and it works properly. I feel like there should be a more elegant way to do this, but this at least works.
Thanks for that, I'd been meaning to take a look at it. If it's a whitespace issue with the table code, that's usually really hard to get around, so short of converting it to HTML your solution is probably the best.
there is a lesser known/used wiki table syntax that can usually get around some of the white space issues using double pipes, either prefixing or post fixing the double pipes using Template:!! if you have to nest it.
Check it out here
No, it's the new row code that is the issue. You can't put conditionals that evaluate to false on their own lines because each one will result in a blank line, which creates that extra space. But you can't start the next one on the same line as the end of the previous one either because then the |- goes at the end of the previous line, so the parser doesn't recognize it. Supposedly you can put a line break in nowiki tags at the beginning of the "then" portion to avoid that problem, but I've done that before and it didn't always work, plus it's more code. Nesting the calls works fine.
ah yeah that is not a solvable problem. i know exactly what you are describing.
what is trying to be done is not parsable by the parser, in a desirable fashion. the order of operations needed do not exist / function that way.
I have no solution for you. Danxor and I are still trying to figure out a workaround. However I have determined there is no viable long term work around other than a redesign. And that design is still being figured out.
I have done some trickery in SNP2, but it is still not perfect. It does feature the problem. And I have gone with a best alternative though not perfect solution.
Has making a template that transcludes a newline already been tried? Maybe that would work.