Template:AnAWord
The template is used to add an indefinite article - an
or a
to the given word. The template checks the first character of the string and does the following:
- for a, e, i, o, u, it adds an "an"
- for other letters, adds an "a"
- for anything else, returns the original string
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.