Template:Article

This function prepends  before a string (text phrase) sent to it. Its logic is thus:


 * If the string starts with “uni”, it gets preceded by an “a”.
 * If not, if it starts with a vowel, it gets preceded by an “an”.
 * Otherwise, it must start with a consonant, so gets preceded by an “a”.

Note that this yields “” but also “” – it’s not perfect – but if necessary various other exceptions can be coded in as they are located.

Usage
  in an article’s text yields “” upon the render of the page. You can use this template in the flow of a SGTable output (which is its most useful state, when you don’t know what that generator’s text output will be), such as:

'' I went out walking and ran across ,, , , , , and .

The above list should show all vowel-first animal names with an “an” in front of them (reload the page if no vowel-first animals appeared).

The template “ia” (for “indefinite article”) is a shortcut to this template, and can be used as   interchangeably, if you prefer a shorter command.