Template:IndefArticle

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Gives the correct indefinite article for the entered number. Gives almost always "a", but "an" for 8, 11, 18 and numbers whos first digit is an 8. Actually that works only until 89 at the moment.
{{IndefArticle|{{{1}}}}} {{{1}}}-cell gives "a 5-cell" for {{{1}}}=5 and "an 8-cell" for {{{1}}}=8.