Template:NameSort: Difference between revisions

From Jenny Everywhere Wiki
No edit summary
No edit summary
Line 11: Line 11:
   <!-- If there ARE close parentheses, use the word that immediately precedes the  
   <!-- If there ARE close parentheses, use the word that immediately precedes the  
       open parentheses as the sort key -->  
       open parentheses as the sort key -->  
   |#default = {{#explode:{{#sub:{{PAGENAME}}|0|{{#expr:{{#rpos:{{PAGENAME}}|(}}-1}}}}| |-1}},{{#explode:{{PAGENAME}}| |0}}
   |#default = {{#explode:{{#sub:{{PAGENAME}}|0|{{#expr:{{#rpos:{{PAGENAME}}|(}}-1}}}}| |-1}},{{#explode:{{PAGENAME}}| |0}} {{#explode:{{PAGENAME}}|(-|1}}


}} <!--second switch close-->
}} <!--second switch close-->
}} <!--DEFAULTSORT close--></includeonly><noinclude>[[Category:coding utility templates|Name]]{{documentation}}{{lock}}</noinclude>
}} <!--DEFAULTSORT close--></includeonly><noinclude>[[Category:coding utility templates|Name]]{{documentation}}{{lock}}</noinclude>

Revision as of 22:35, 1 February 2012

Template:Lock