Template: http://smashmuck.wikia.com/wiki/Template:Skillbox
See in action: http://smashmuck.wikia.com/wiki/Salvage_Strike_%28Skill%29
This infobox displays info on skills from a game. To make it suit a wide variety of skills it should only display lines that have an entry, i.e., don't show the "Range:" line if the skill doesn't have a range. I've gotten all the other lines to work but Duration refuses.
|-
| valign=top | Range:
| colspan="2" | {{{range}}}
|-
| valign=top | Duration:
| colspan="2" | {{{duration}}}
The Duration lines are the ones not working, I've shown the Range lines as well for comparison.
If I set a Duration the value displays in the infobox properly, but it won't disappear if it's empty. I've tried changing the value to check for from {{{duration}}} to another value and it behaves properly, disappearing if the 2nd value is empty, showing up if set.
I've tried everything I can think of but this one value just won't behave.