Difference between revisions of "Template:LSLC"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<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>
<includeonly>{{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{#ifeq:{{lc:{{#sub:{{PAGENAMEE}}|0|6}}}}|lsl_ll|{{#sub:{{PAGENAMEE}}|6}}|{{#ifeq:{{lc:{{#sub:{{PAGENAMEE}}|0|4}}}}|lsl_|{{#sub:{{PAGENAMEE}}|4}}|{{#ifeq:{{lc:{{#sub:{{PAGENAMEE}}|0|2}}}}|ll|{{#sub:{{PAGENAMEE}}|2}}|{{PAGENAMEE}}}}}}}}}}}}[[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:55, 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.