"फलकम्:Delink" इत्यस्य संस्करणे भेदः
Content deleted Content added
No edit summary |
No edit summary |
||
पङ्क्तिः १: | पङ्क्तिः १: | ||
{{Delink/phase 2|{{Delink/phase 1 a|{{#expr:1+{{Str find|{{{1|}}}|{{Open squares}}}}}}|{{#expr:{{Str find|{{{1|}}}|{{Close squares}}}}-1}}|{{{1|}}}}}}} |
{{Title without disambig|{{Delink/phase 2|{{Delink/phase 1 a|{{#expr:1+{{Str find|{{{1|}}}|{{Open squares}}}}}}|{{#expr:{{Str find|{{{1|}}}|{{Close squares}}}}-1}}|{{{1|}}}}}}}}} |
||
<noinclude> |
<noinclude> |
||
पङ्क्तिः ६: | पङ्क्तिः ६: | ||
# If there is [[ ]] take the bit between the first pair else the whole thing |
# If there is [[ ]] take the bit between the first pair else the whole thing |
||
# If there is a | take the bit before the | else the whole thing |
# If there is a | take the bit before the | else the whole thing |
||
# If there is a |
# If there is a ( take the bit before the ( less one character, else the whole thing |
||
==Examples== |
==Examples== |
||
पङ्क्तिः १७: | पङ्क्तिः १७: | ||
* <nowiki>{{Delink|[[Paris (city)|London]]}}</nowiki> |
* <nowiki>{{Delink|[[Paris (city)|London]]}}</nowiki> |
||
* {{Delink|[[Paris (city)|London]]}} |
* {{Delink|[[Paris (city)|London]]}} |
||
</noinclude> |
</noinclude> |
००:२२, १८ जुलै २०१० इत्यस्य संस्करणं
How it works
- If there is [[ ]] take the bit between the first pair else the whole thing
- If there is a | take the bit before the | else the whole thing
- If there is a ( take the bit before the ( less one character, else the whole thing
Examples
- {{Delink|Paris}}
- फलकम्:Delink/phase 2
- {{Delink|[[Paris]]}}
- फलकम्:Delink/phase 2
- {{Delink|[[Paris|London]]}}
- फलकम्:Delink/phase 2
- {{Delink|[[Paris (city)|London]]}}
- फलकम्:Delink/phase 2