Template:URL: Difference between revisions
From Vigyanwiki
Template>Verdy p m ("ftps://" URLs not working in MediaWiki) |
Template>Verdy p m (fixing calls to {{str right}} template for pathological cases ith equal signs in URLs) |
||
Line 9: | Line 9: | ||
-->{{lc:<!-- domain name in lowercase | -->{{lc:<!-- domain name in lowercase | ||
-->{{#ifeq:{{lc:{{padleft:|4|{{#titleparts:{{{1|}}}|1|3}}}}}}|www.<!-- | -->{{#ifeq:{{lc:{{padleft:|4|{{#titleparts:{{{1|}}}|1|3}}}}}}|www.<!-- | ||
-->|{{Str right|{{#titleparts:{{{1|}}}|1|3}}|4}}<!-- | -->|{{Str right|1={{#titleparts:{{{1|}}}|1|3}}|2=4}}<!-- | ||
-->|{{#titleparts:{{{1|}}}||3}}<!-- | -->|{{#titleparts:{{{1|}}}||3}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Line 23: | Line 23: | ||
-->{{lc:<!-- domain name in lowercase | -->{{lc:<!-- domain name in lowercase | ||
-->{{#ifeq:{{lc:{{padleft:|4|{{#titleparts:{{{1|}}}|1|1}}}}}}|www.<!-- | -->{{#ifeq:{{lc:{{padleft:|4|{{#titleparts:{{{1|}}}|1|1}}}}}}|www.<!-- | ||
-->|{{Str right|{{#titleparts:{{{1|}}}|1|1}}|4}}<!-- | -->|{{Str right|1={{#titleparts:{{{1|}}}|1|1}}|2=4}}<!-- | ||
-->|{{#titleparts:{{{1|}}}|1|1}}<!-- | -->|{{#titleparts:{{{1|}}}|1|1}}<!-- | ||
-->}}<!-- | -->}}<!-- |
Revision as of 04:17, 11 October 2010
Template documentation
[create]