Template:Chem/link

This creates a link if and only if the link parameter is specified.