|
|
Line 1: |
Line 1: |
| <includeonly>{{vardefine:lang|{{#ifexpr:(({{#len:{{PAGENAMEE}}}} - {{#rpos:{{PAGENAMEE}}|/}}) = 4)|{{#if:(({{#len:{{{1|}}}}} - {{#rpos:{{{1|}}}|/|}}) = 4)|{{#sub:{{{1|}}}|-4}}|{{#sub:{{PAGENAMEE}}|-4}}}}|/eng}}}}[[LSL_{{{1}}}{{#ifexpr:(({{#len:{{PAGENAMEE}}}} - {{#rpos:{{PAGENAMEE}}|/}}) = 4) and (({{#len:{{{1|}}}}} - {{#rpos:{{{1|}}}|/|}}) != 4)|{{#sub:{{PAGENAMEE}}|-4}}}}|{{#if:{{{2|}}}|{{{2}}}|{{#ifexpr:(({{#len:{{{1|}}}}} - {{#rpos:{{{1|}}}|/|}}) = 4)|{{#sub:{{{1|}}}|0|-4}}|{{{1}}}}}}}]]</includeonly><noinclude>
| | [[LSL_{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]] |
| <nowiki>{{LSLG|page|text|lang}}</nowiki>
| |
| If '''page''' has a 3 char language code it is stripped for the display if text is excluded.<br/>
| |
| If the page that the link is a page with a language code then that language code is used if '''page''' does not contain one.
| |
| </noinclude>
| |