Template:Linkless exists
true
This template's documentation was also ported from Wikipedia, originally from Template:Linkless exists/doc. The original authors of the documentation are shown on the documentation's edit history page.
Wikipedia's text is available under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
Linkless exists checks whether a page exists. It differs from alternatives such as #ifexist: in that the page containing this template is not recorded as linking to or transcluding the page being checked. This has the advantage of avoiding spurious wikilinks, especially to disambiguation pages which should not have incoming links, but has the disadvantage that the containing page may not be updated automatically if the checked page is created or deleted later.
Usage
The template requires one parameter: the name of the page to be checked. Include a namespace where necessary. There are two other optional parameters: the text to appear if the page is present, and the text to appear if it is absent. By default, these are set to "true" and "", which evaluate as true and false respectively within expressions. {{Linkless exists|Main Page|working|broken}}
is an efficient shortcut for {{#if:{{Linkless exists|Main Page}}|working|broken}}
.
The above documentation is transcluded from Template:Linkless exists/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.