Difference between revisions of "Template:LSLC"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<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>
<includeonly>{{#if:{{{2|}}}|[[Category:LSL {{{1}}}|{{{2|}}}]]|[[Category:LSL {{{1}}}]]}}</includeonly><noinclude>
<nowiki>[[:Category:LSL {{{1}}}|{{PAGENAME}}]]</nowiki>
<nowiki>[[:Category:LSL {{{1}}}|{{PAGENAME}}]]</nowiki></noinclude>
 
Strips the leading LSL and ll if it exists from the pagename when setting the sort for the category.</noinclude>

Revision as of 13:39, 5 June 2007

[[:Category:LSL {{{1}}}|{{PAGENAME}}]]