Template:ifNotValidPageName/documentation

If the first argument is a valid page name, return the first argument - otherwise use the second.