Difference between revisions of "Template:LSLC"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>[[Category:LSL {{{1}}}|{{#if:{{{2|}}}|{{{2|}}}|{{#ifeq:{{#sub:{{PAGENAMEE}}|0|3}}|LSL|{{#ifeq:{{#sub:{{PAGENAMEE}}|4|2}}|ll|{{#sub:{{PAGENAMEE}}|6}}|{{#sub:{{PAGENAMEE}}|4}}}}|{{PAGENAMEE}}}}}}]]</includeonly><noinclude>
<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.