Difference between revisions of "Template:Linkless exists"

From RimWorld Wiki
Jump to navigation Jump to search
(taken from [https://en.wikipedia.org/wiki/Template:Linkless_exists])
 
m
 
Line 1: Line 1:
{{#if:{{PROTECTIONEXPIRY:edit|{{{1|}}}}}|{{{2|true}}}|{{{3|}}}}}<noinclude>{{Documentation}}</noinclude>
+
<includeonly>{{#if:{{PROTECTIONEXPIRY:edit|{{{1|}}}}}|{{{2|true}}}|{{{3|}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 13:42, 5 November 2022

Documentation icon Template documentation[view] [edit] [history] [purge]

Summary[edit]

Checks whether a page exists without that page being recorded as linked to.

{{Linkless exists|<PAGENAME>|<returned value if exists (default=true)>|<returned value if it doesn't exist (default=)>}}

Usage[edit]

{{Linkless exists|Main Page}}

results in: true

{{Linkless exists|Main Page|working|broken}}

results in: working

See also[edit]