Parameter "link" is required.
This is the template sandbox page for Template:Link target (diff). See also the companion subpage for test cases. |
This template is used on approximately 22,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
edit{{Link target|link=[[Foo|bar]]}}
→ Foo{{Link target|link=[[Foo]]}}
→ Foo{{Link target|link=Foo}}
→ (an empty string is returned when no link target found)