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

Content deleted Content added
imported>Plastikspork
Add x prefix to avoid difficulties with URLs starting with a number, see talk page.
imported>Plastikspork
Hopefully this fixes the bug
लाइन 4:
-->[{{#if:1|{{{1|}}}}} {{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}|{{#if:1|{{{1|}}}}}}}]<!-- These "#if:1" pseudo-tests (always true) allow trimming leading spaces in their text parameter
-->|<!--
-->{{#switch:{{lc:{{#titleparts:{{{1|}}}|2}}}}<!--
--> |https:/<!--
--> |http:/<!--
--> |ftp:/=<!-- anMatches FTPhttps:/ URLor is a valid URI scheme and MUST NOT imply a default "http://" (asor generated in the #default case)ftp:/
-->[{{#if:1|{{{1|}}}}} <!-- This #if:1 allows trimming leading spaces in the full URL: {{{1|}}}
-->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}
लाइन 13:
-->{{#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 ressource path
-->|/{{#titleparts:{{{1|}}}||4}}<!--
-->}}<!--
-->}}<!--
-->]<!--
-->|#default=<!-- Warning!Not thishttps:/ caseor implies a default "http://" URIor scheme, and should NOT occur if there's another accepted URI scheme in the URLftp:/
-->[http://{{#if:1|{{{1|}}}}} <!-- This #if:1 allows trimming leading spaces in the full URL: {{{1|}}}
-->{{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}| <!-- This #if:1 allows trimming leading spaces in the specified display text : {{{2|}}}
लाइन 30:
-->}}<!--
-->}}<!--
-->{{#if:{{#titleparts:{{{1|}}}||2}}<!-- rest of the ressource path
-->|/{{#titleparts:{{{1|}}}||2}}<!--
-->}}<!--