Jump to content

Template:ExistsLinkless/doc

From DynamicPageList4 Manual
Documentation subpage
View this documentation's related template:
Template:ExistsLinkless (edit).
Template styles: CSS styles (edit).

Example(s)

[edit source]
  • {{ExistsLinkless|Template:DPL}} gives:

true

  • {{ExistsLinkless|Template:Test|exists|doesn't exist}} gives:

doesn't exist

See Also

[edit source]

Template Data

[edit source]

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.

Template parameters

ParameterDescriptionTypeStatus
Page1

The name of the page to be checked

Page namerequired
(Override) true2

The text to appear if the page is present

Default
true
Example
page found
Stringoptional
(Override) null/blank3

The text to appear if the page is absent

Default
(blank string)
Example
page not found
Stringoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.