Template:Exists
(Redirected from Template:Linkless exists)
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
This template uses Module:Exists, a script written in Lua.
This template checks for a page's existence without causing the page to show up on whatlinkshere and wantedpages, unlike #ifexist.
Syntax
{{Exists|page to check|content if exists|content if does not exist}}
Examples
{{Exists|This page does not exist|true|false}} yields: false
{{Exists|Kiana|true|false}} yields: true
{{Exists|blank|true|false}} yields: false
Template Data
Check if page exists
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page Name | 1 page | Name of page including namespace to check for existence. | Page name | required |
| True Result | 2 then | Result if page exists
| String | suggested |
| False Result | 3 else | Result if page does not exist
| String | suggested |