Template:CLtitlelink

Test for the existence of the title page. IF found, link to it. If NOT found, link to Category:Titles but add a new link after the regular link to make a new page. Do NOT display &#91;new&#93; link if the first parameter is BLANK!

see Template:titlelink for full docs