Template:It

{{#if:{{{2|}}}|the {{{1}}}|{{#ifexpr:{{#rpos:aeiouAEIOU|{{#sub:{{{1}}}|0|1}}}}+1 | an | a }}