Anonymous

Template:NameSortTest: Difference between revisions

From Jenny Everywhere Wiki
no edit summary
No edit summary
No edit summary
Line 8: Line 8:




|#default = do something to truncate the disambig term and sort by the last word before the disambig term
|#default = {{#explode:{{#sub:{{PAGENAME}}|0|{{#expr:{{#rpos:{{PAGENAME}}|(}}-1}}}}| |-1}}


}} <!--second switch close-->
}} <!--second switch close-->
Line 18: Line 18:


* John Smith (actor)  
* John Smith (actor)  
{{#sub:{{#sub:John Smith (actor)|0|{{#expr:{{#rpos:John Smith (actor)|(}}-1}}}}|{{#rpos:{{John Smith (actor)}}| }}|7}}}}
{{#explode:{{#sub:John Smith (actor)|0|{{#expr:{{#rpos:John Smith (actor)|(}}-1}}}}| |-1}}
85,404

edits