Template:NameSortTest: Difference between revisions

From Jenny Everywhere Wiki
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}}

Revision as of 15:37, 1 February 2012

Template:Lock

This is a testing ground for expanding the powers of {{NameSort}}. It is in no way complete. Please do not attempt to edit it.

  • John Smith (actor)

Smith