Template:Link if exists/doc
< Template:Link if exists
Jump to navigation
Jump to search
Revision as of 09:08, 2 October 2018 by imported>Fayenatic london (→See also: * {{tl|LinkCatIfExists}} * {{tl|LinkCatIfExists2}})
| This is a documentation subpage for Template:Link if exists. It contains usage information, categories and other content that is not part of the original template page. |
Usage
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
- {{Link if equal}}
- {{Link if not current}}
- {{LinkCatIfExists}}
- {{LinkCatIfExists2}}