Difference between revisions of "Template:AORAN2"

From Wikispooks
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
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> {{#expr: -1+{{#pos:{{{1|}}}|{{!}}}}}} @ {{#sub:{{{1|}}}|{{#expr: -1+0{{#pos:{{{1|}}}|{{!}}}}}}|1}} - {{#if:{{#pos:{{{1|}}}|{{!}}}}|{{AORAN/Naive|{{#sub:{{{1|}}}|{{#expr: -1+0{{#pos:{{{1|}}}|{{!}}}}}}}}}}|{{AORAN/Naive|{{{1|}}}}}}}</includeonly>
+
--></noinclude><includeonly> {{#sub:{{{1|}}}|{{#expr: 1+0{{#rpos:{{{1|}}}|{{!}}}}}}|3}} - {{#if:{{#rpos:{{{1|}}}|{{!}}}}|{{AORAN/Naive|{{#sub:{{{1|}}}|{{#expr: 1+0{{#rpos:{{{1|}}}|{{!}}}}}}}}}}}</includeonly>

Latest revision as of 11:23, 16 June 2016

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