Template:Ifnumber

Info
Checks if the first parameter is a number. Returns the second parameter if so, and the third if not. The second and third parameters are optional, and the template will return "y" or nothing in that case. Inspired by the Wikipedia template.