Template:Ifnotempty

I stole this from Wikipedia
https://en.wikipedia.org/wiki/Template:Ifnotempty