Template:Ifexistlink
Jump to navigation
Jump to search
[[{{{1}}}]]
This is an alternative to using {{#ifexist:}} when you simply want a link to show up only if the target exists.
Using the "expensive" parser function it would be like: {{#ifexist:Page_name|[[Page_name]]}}
but not the same; while #ifexist gives a checkable result, this template doesn't.
Examples:
- {{ifexistlink|Main Page}} → Main Page
- {{ifexistlink|Not the Main Page}} → Not the Main Page