Template:Exists linkless
From Dragon Mania Legends (DML) Wiki
true
Template documentation |
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this template's documentation. (About template documentation) |
Example(s)
{{Exists linkless|Main Page|exists|doesn't}}
is an efficient shortcut for{{#if:{{Exists linkless|Main Page}}|exists|doesn't}}
.
See Also
{{Exists}}
, a shortcut for this template.- (Template:Linkless exists), where this template was sourced from.
- T14019, the Wikimedia Phabricator task where the undesired IFEXIST behavior was reported back in 2007, and still unresolved as of April 2023.
Checks whether a provided page exists, via IF statement, instead if IFEXIST statement which flags non-existing pages as a Wanted Page (undesired). 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | 1 | The name of the page to be checked | Page name | required |
(Override) true | 2 | The text to appear if the page is present
| String | optional |
(Override) null/blank | 3 | The text to appear if the page is absent
| String | optional |