Difference between revisions of "Template:AORAN"

From Wikispooks
Jump to navigation Jump to search
(update status)
(Fix for [[ ]] links)
 
Line 2: Line 2:
 
''Usage:''<br/>
 
''Usage:''<br/>
 
<nowiki>{{AORAN|TEXT}}</nowiki>
 
<nowiki>{{AORAN|TEXT}}</nowiki>
</noinclude><includeonly>{{#if:{{#pos:aeiouAEIOU|{{#sub:{{{1}}}|0|1}}}} | An | A }}</includeonly>
+
<!-- 2015-11-02
 +
Adjusted from straightforward code to work on [[INTERNAL LINKS]].
 +
Does not yet support anchortext. i.e. No [[LINKS|LIKE THIS]].
 +
--></noinclude><includeonly>{{#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>

Latest revision as of 02:16, 2 November 2015

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