Template:Delink: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(This template is nearly entirely original) |
||
Line 4: | Line 4: | ||
|{{{1|}}} | |{{{1|}}} | ||
}}<noinclude> | }}<noinclude> | ||
==How it works== | ==How it works== | ||
Revision as of 15:46, 26 December 2024
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
Examples
- {{Delink|Paris}}
- Paris
- {{Delink|[[Paris]]}}
- Paris
- {{Delink|[[Paris|London]]}}
- London
- {{Delink|foo [[Paris|London]] bar}}
- foo London bar