Difference between revisions of "Template:Linkless exists/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "== Summary == Checks whether a page exists without that page being recorded as linked to. <nowiki>{{Linkless exists|<PAGENAME>|<returned value if exists (default=true)>|<retu...")
 
 
Line 2: Line 2:
 
Checks whether a page exists without that page being recorded as linked to.
 
Checks whether a page exists without that page being recorded as linked to.
  
<nowiki>{{Linkless exists|<PAGENAME>|<returned value if exists (default=true)>|<returned value if it doesn't exist (default=)>}}</nowiki>
+
<pre>{{Linkless exists|<PAGENAME>|<returned value if exists (default=true)>|<returned value if it doesn't exist (default=)>}}</pre>
  
 
== Usage ==
 
== Usage ==

Latest revision as of 00:18, 23 October 2022

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]