Template:NameSortTest: Difference between revisions

From Jenny Everywhere Wiki
No edit summary
No edit summary
Line 22: Line 22:


{{#switch:{{#rpos:John Smith (actor)|)}}
{{#switch:{{#rpos:John Smith (actor)|)}}
|-1={{#switch:{{#rpos:John Smith (actor)| }}|-1=John Smith (actor)|#default={{#sub:John Smith (actor)|{{#rpos:John Smith (actor)| }}|7}}}} }}|#default = {{#explode:{{#sub:John Smith (actor)|0|{{#expr:{{#rpos:John Smith (actor)|(}}-1}}}}| |-1}} }} <!--second switch close-->
|-1={{#switch:{{#rpos:John Smith (actor)| }}
  |-1=John Smith (actor)
  |#default={{#sub:John Smith (actor)|{{#rpos:John Smith (actor)| }}|7}}}} }}
|#default = {{#explode:{{#sub:John Smith (actor)|0|{{#expr:{{#rpos:John Smith (actor)|(}}-1}}}}| |-1}}  
}} <!--second switch close-->





Revision as of 16:03, 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


|#default = Smith }}