Шаблон:Aan

will 'return' the correct a or an based on the input.