Template:AnA

From Encyclopedia of Scientonomy
Jump to navigation Jump to search

The template is used to return the indefinite article - an or a for the given word. The template checks the first character of the string and does the following:

  • for a, e, i, o, u, it returns an "an"
  • for other letters, returns an "a"

NOTE: As any "printing" template, it doesn't store any values anywhere, but merely returns a value.

Parameters:

  • string - any string to which the article should be added.