टेम्पलेट:URL: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>Plastikspork
Hopefully this fixes the bug
imported>Fryed-peach
Always show valid urls, per discussion
लाइन 11:
-->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}
-->{{lc:<!-- domain name in lowercase
-->{{#ifeq:{{lc:{{padleft:|4|{{#titleparts:{{{1|}}}|1|3}}}}}}|www.<!--
-->|{{Str right|{{#titleparts:{{{1|}}}|1|3}}|4}}<!--
-->|{{#titleparts:{{{1|}}}|1|3}}<!--
-->}}<!--
-->}}<!--
-->{{#if:{{#titleparts:{{{1|}}}||4}}<!-- rest of the path
Line 25 ⟶ 22:
-->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}
-->{{lc:<!-- domain name in lowercase
-->{{#ifeq:{{lc:{{padleft:|4|{{#titleparts:{{{1|}}}|1|1}}}}}}|www.<!--
-->|{{Str right|{{#titleparts:{{{1|}}}|1|1}}|4}}<!--
-->|{{#titleparts:{{{1|}}}|1|1}}<!--
-->}}<!--
-->}}<!--
-->{{#if:{{#titleparts:{{{1|}}}||2}}<!-- rest of the path