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}} {{#explode:{{PAGENAME}}|(- | |#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:40, 1 February 2012
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |