I screwed around with the if statements for a good few hours, and couldn't get it to work. Moffy, it's up to you.
In the meantime, you can just leave those spaces blank.
If you just put in "|date =" without anything after the = sign, it'll get rid of those pesky {{{date}}} entries on the actual page. I've modified Haley's page accordingly.