Difference between revisions of "Template:AORAN2"

From Wikispooks
Jump to navigation Jump to search
Line 6: Line 6:
 
Adjusted to support anchortext.  i.e. [[anchor-texted links|LIKE THIS]].
 
Adjusted to support anchortext.  i.e. [[anchor-texted links|LIKE THIS]].
 
This is a wrapper round two alternate calls to the older template, now moved to [[Template:AORAN/Naive]].
 
This is a wrapper round two alternate calls to the older template, now moved to [[Template:AORAN/Naive]].
--></noinclude><includeonly>{{#if:{{#pos:{{{1|}}}|{{!}}}}|{{AORAN/Naive|{{#sub:{{{1|}}}|{{#pos:{{{1|}}}|{{!}}}}}}}}|{{AORAN/Naive|{{{1|}}}}}}}</includeonly>
+
--></noinclude><includeonly>{{#if:{{#pos:{{{1|}}}|{{!}}}}|{{AORAN/Naive|{{#sub:{{{1|}}}|{{#expr: 1+{{#pos:{{{1|}}}|{{!}}}}}}}}}}|{{AORAN/Naive|{{{1|}}}}}}}</includeonly>

Revision as of 10:43, 16 June 2016

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