Difference between revisions of "Template:Article"

From Abulafia Random Generator Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
String sent: ##{{{1}}}##<br />
+
<includeonly>{{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|2}}}}|un|
Substring of string: ##{{#sub:{{{1}}}|0|1}}<br />
+
  a {{{1}}}|
{{#ifeq:{{#sub:{{{1}}}|0|1}}|a|an {{{1}}}|a {{{1}}}}}
+
  {{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|1}}}}|a|
 +
    an {{{1}}}|
 +
    {{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|1}}}}|e|
 +
      an {{{1}}}|
 +
      {{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|1}}}}|i|
 +
        an {{{1}}}|
 +
        {{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|1}}}}|o|
 +
          an {{{1}}}}|
 +
          {{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|1}}}}|u|
 +
            an {{{1}}}|
 +
            a {{{1|}}}
 +
          }}
 +
        }}
 +
      }}
 +
    }}
 +
  }}
 +
}}</includeonly><noinclude>
 +
This function adds {{Article|Indefinite Article}} to the beginning of the phrase sent to it.</noinclude>

Revision as of 08:05, 26 August 2008

This function adds a Indefinite Article to the beginning of the phrase sent to it.