Difference between revisions of "Template:Article"

From Abulafia Random Generator Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
(The substring is {{#lc:{{#sub:{{{1|}}}|0|1}}}})
+
(The substring is {{lc:{{#sub:{{{1|}}}|0|1}}}})
{{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|2}}}}|un|
+
{{#ifeq:{{lc:{{#sub:{{{1|}}}|0|2}}}}|un|
 
   a {{{1}}}|
 
   a {{{1}}}|
   {{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|1}}}}|a|
+
   {{#ifeq:{{lc:{{#sub:{{{1|}}}|0|1}}}}|a|
 
     an {{{1}}}|
 
     an {{{1}}}|
     {{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|1}}}}|e|
+
     {{#ifeq:{{lc:{{#sub:{{{1|}}}|0|1}}}}|e|
 
       an {{{1}}}|
 
       an {{{1}}}|
       {{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|1}}}}|i|
+
       {{#ifeq:{{lc:{{#sub:{{{1|}}}|0|1}}}}|i|
 
         an {{{1}}}|
 
         an {{{1}}}|
         {{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|1}}}}|o|
+
         {{#ifeq:{{lc:{{#sub:{{{1|}}}|0|1}}}}|o|
 
           an {{{1}}}}|
 
           an {{{1}}}}|
           {{#ifeq:{{#lc:{{#sub:{{{1|}}}|0|1}}}}|u|
+
           {{#ifeq:{{lc:{{#sub:{{{1|}}}|0|1}}}}|u|
 
             an {{{1}}}|
 
             an {{{1}}}|
 
             a {{{1|}}}
 
             a {{{1|}}}

Revision as of 08:06, 26 August 2008

This function adds (The substring is {{#sub:indefinite article|0|1}}) a Indefinite Article to the beginning of the phrase sent to it.