Difference between revisions of "Template:LSLC"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{#ifeq:{{lc:{{#sub:{{PAGENAMEE}}|0|5}}}}|lsl_ll|{{#sub:{{PAGENAMEE}}|5}}|{{#ifeq:{{lc:{{#sub:{{PAGENAMEE}}|0|3}}}}|lsl|{{#sub:{{PAGENAMEE}}|3}}|{{#ifeq:{{lc:{{#sub:{{PAGENAMEE}}|0|2}}}}|ll|{{#sub:{{PAGENAMEE}}|2}}|}}}}}}}}}}[[Category:LSL {{{1}}}|{{#if:{{{2|}}}|{{{2|}}}|{{#var:sort}}}}]]</includeonly><noinclude> | ||
<nowiki>[[:Category:LSL {{{1}}}|{{PAGENAME}}]]</nowiki> | <nowiki>[[:Category:LSL {{{1}}}|{{PAGENAME}}]]</nowiki> | ||
Strips the leading LSL and ll if it exists from the pagename when setting the sort for the category.</noinclude> | Strips the leading LSL and ll if it exists from the pagename when setting the sort for the category.</noinclude> |
Revision as of 21:24, 20 February 2007
[[:Category:LSL {{{1}}}|{{PAGENAME}}]]
Strips the leading LSL and ll if it exists from the pagename when setting the sort for the category.