Template:Delink target: Difference between revisions
MusikAnimal (talk | contribs) (Created page with "{{<includeonly>safesubst:</includeonly>#invoke:delink|delinkTarget}}") |
MusikAnimal (talk | contribs) (add template doc) |
||
Line 1: | Line 1: | ||
{{<includeonly>safesubst:</includeonly>#invoke:delink|delinkTarget}} | {{<includeonly>safesubst:</includeonly>#invoke:delink|delinkTarget}}<noinclude> | ||
{{documentation}} | |||
</noinclude> |
Latest revision as of 05:04, 2 December 2020
This template uses Lua: |
This template gets the target of a link. For example:
{{delink target|[[Foo|Bar]]}}
– returns "Foo"{{delink target|[[Foo]]}}
– returns "Foo"{{delink target|Foo}}
– returns "Foo"
See also[edit source]
- {{delink}} – same template but gets the link text
The above documentation is transcluded from Template:Delink target/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |