Difference between revisions of "Template:AORAN2"

From Wikispooks
Jump to navigation Jump to search
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> 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>
+
--></noinclude><includeonly> NEW: {{#pos:erty|{{!}}}} 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:28, 16 June 2016

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