Template:Link if exists
Kaonekelo
| This template is used on approximately 297,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Usage
[kulemba source]For use as a subtemplate of other templates. Displays the first parameter, linked if an article exists, otherwise unlinked. You can also define a parameter nsp, for the namespace to try to link to (e.g. "nsp=Category"). Use prefix instead of nsp if the prefix is also to be displayed if a link is found.
See also
[kulemba source]- {{Link if not current}}
- {{LinkCatIfExists}}
- {{LinkCatIfExists2}}
- {{Linked}} – links if not already linked