Difference between revisions of "Template:AORAN2"

From Wikispooks
Jump to navigation Jump to search
(test)
 
Line 7: Line 7:
 
2016-07-17
 
2016-07-17
 
Adjusted to support anchortext. i.e. [[anchor-texted links|LIKE THIS]].
 
Adjusted to support anchortext. i.e. [[anchor-texted links|LIKE THIS]].
--></noinclude><includeonly>{{#pos:{{!}}|{{{1}}}}} NEW: ...? OLD: {{#if:{{#pos:[|{{#sub:{{{1}}}|0|1}}}} | {{#if:{{#pos:aeiouAEIOU|{{#sub:{{{1}}}|2|1}}}} | An | A }} | {{#if:{{#pos:aeiouAEIOU|{{#sub:{{{1}}}|0|1}}}} | An | A }} }}</includeonly>
+
--></noinclude><includeonly> NEW: {{#pos:{{!}}|{{{1}}}}} OLD: {{#if:{{#pos:[|{{#sub:{{{1}}}|0|1}}}} | {{#if:{{#pos:aeiouAEIOU|{{#sub:{{{1}}}|2|1}}}} | An | A }} | {{#if:{{#pos:aeiouAEIOU|{{#sub:{{{1}}}|0|1}}}} | An | A }} }}</includeonly>

Revision as of 10:21, 16 June 2016

Either "A" or "An" depending upon the first character of the following word.
Usage:
{{AORAN|TEXT}}