ಟೆಂಪ್ಲೇಟು:URL: ಪರಿಷ್ಕರಣೆಗಳ ನಡುವಿನ ವ್ಯತ್ಯಾಸ
Content deleted Content added
ಚು simplify tests for presence of parameter 2, and of the titleparts limitation and its work-round ; additional fix for "ftp://" URLs |
ಚು another pathological case solved |
||
೨ ನೇ ಸಾಲು:
--><span class="url"><!--
-->{{#ifeq:{{#titleparts:{{{1|}}}|1|1}}|{{{1|}}}|<!-- work-around when titleparts doesn't accept the URL and returns the full string instead: don't attempt to transform the displayed URL
-->[{{#if:1|{{{1|}}}}} {{#if:{{{2|}}}|{{#if:1|{{{2|}}}}}|{{#if:1|{{{1|}}}}}}}]<!--
-->|<!--
-->{{#switch:{{lc:{{#titleparts:{{{1|}}}|2}}}}<!--
೩೬ ನೇ ಸಾಲು:
-->]<!--
-->}}<!--
-->}}<!--
--></span><!--
-->|{{tlx|URL|example.com}}<!--
|