Template:ItemStripper: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}|a={{#sub:{{{1|}}}|2|{{#len:{{{1|}}}}}}}|an={{#switch:{{lc:{{#sub:{{{1|}}}|0|3}}}}|an={{#sub:{{{1|}}}|3|{{#len:{{{1|}}}}}}}|{{{1|}}}}}|so={{#switch:{{lc:{{#sub:{{{1|}}}|0|5}}}}|some={{#sub:{{{1|}}}|5|{{#len:{{{1|}}}}}}}|{{{1|}}}}}|th={{lc:{{#switch:{{lc:{{#sub:{{{1|}}}|0|4}}}}}}|the={{#sub:{{{1|}}}|4|{{#len:{{{1|}}}}}}}|{{{1|}}}}}|{{{1}}}}}</includeonly><noinclude>A template that will take an item beginning with "a", "some", "the", or "an" and remove the beginning.{{cat|Templates}}</noinclude>
<includeonly>{{#switch:{{lc:{{#sub:{{{1|}}}|0|2}}}}|a={{#sub:{{{1|}}}|2|{{#len:{{{1|}}}}}}}|an={{#switch:{{lc:{{#sub:{{{1|}}}|0|3}}}}|an={{#sub:{{{1|}}}|3|{{#len:{{{1|}}}}}}}|{{{1|}}}}}|so={{#switch:{{lc:{{#sub:{{{1|}}}|0|5}}}}|some={{#sub:{{{1|}}}|5|{{#len:{{{1|}}}}}}}|{{{1|}}}}}|th={{#switch:{{lc:{{#sub:{{{1|}}}|0|4}}}}|the={{#sub:{{{1|}}}|4|{{#len:{{{1|}}}}}}}|{{{1|}}}}}|{{{1}}}}}</includeonly><noinclude>A template that will take an item beginning with "a", "some", "the", or "an" and remove the beginning.{{cat|Templates}}</noinclude>

Revision as of 00:32, 10 September 2013

A template that will take an item beginning with "a", "some", "the", or "an" and remove the beginning.