Template:NameSort: Difference between revisions

From Jenny Everywhere Wiki
m (Robot: Cosmetic changes)
(adding provisions for single word names)
Line 1: Line 1:
<includeonly>{{DEFAULTSORT:{{#sub:{{PAGENAME}}|{{#rpos:{{PAGENAME}}| }}|7}}}}</includeonly><noinclude>[[Category:coding utility templates|Name]]{{documentation}}{{lock}}</noinclude>
<includeonly>{{DEFAULTSORT:
{{#switch:{{#rpos:{{PAGENAME}}| }}
|-1={{PAGENAME}}
|#default={{#sub:{{PAGENAME}}|{{#rpos:{{PAGENAME}}| }}|7}}}}
}}</includeonly><noinclude>[[Category:coding utility templates|Name]]{{documentation}}{{lock}}</noinclude>

Revision as of 13:59, 1 February 2012

Template:Lock