Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Ifexist]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.
Simple template to show a link to a page if it exists or just the page name as a string if it does not.
Uses {{#ifexist: |...}}.
Type {{ifexist|page name}} somewhere.
Sample output
{{ifexist|Template:Stuff}} gives Template:Stuff
{{ifexist|Template:Ifexist}} gives Template:Ifexist
Community content is available under CC-BY-SA unless otherwise noted.