<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://theportalwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIfexist</id>
	<title>Template:Ifexist - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://theportalwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIfexist"/>
	<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Ifexist&amp;action=history"/>
	<updated>2026-04-26T17:40:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://theportalwiki.com/w/index.php?title=Template:Ifexist&amp;diff=189833&amp;oldid=prev</id>
		<title>Tark: Imported from tfwiki</title>
		<link rel="alternate" type="text/html" href="https://theportalwiki.com/w/index.php?title=Template:Ifexist&amp;diff=189833&amp;oldid=prev"/>
		<updated>2025-09-27T20:00:22Z</updated>

		<summary type="html">&lt;p&gt;Imported from tfwiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#if:{{PROTECTIONEXPIRY:edit|{{{1|}}}}}|{{{2|true}}}|{{{3|}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{Doc begin}}&lt;br /&gt;
The &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{PROTECTIONEXPIRY}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; parser function can be used to check whether a page exists. It returns &amp;lt;code&amp;gt;infinity&amp;lt;/code&amp;gt; if the page exists and is not protected, the actual expiry time if it is protected, and the empty string if it doesn&amp;#039;t exist.&lt;br /&gt;
&lt;br /&gt;
It differs from alternatives such as [[w:mw:Help:Extension:ParserFunctions|#ifexist:]] in that the page containing this template is not recorded as linking to or transcluding the page being checked.  This has the advantage of avoiding spurious wikilinks, but means that the containing page may not be updated automatically if the checked page is created or deleted later.&lt;br /&gt;
&lt;br /&gt;
This also does not incur an &amp;quot;expensive function&amp;quot; count, so it can be used more than 100 times on a single page.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{#ifexist:Scout|true|false}}&amp;lt;/nowiki&amp;gt; -&amp;gt; {{#ifexist:Scout|true|false}}&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{ifexist|Scout|true|false}}&amp;lt;/nowiki&amp;gt; -&amp;gt; {{ifexist|Scout|true|false}}&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{#ifexist:abcdef|true|false}}&amp;lt;/nowiki&amp;gt; -&amp;gt; {{#ifexist:abcdef|true|false}}&lt;br /&gt;
* &amp;lt;nowiki&amp;gt;{{ifexist|abcdef|true|false}}&amp;lt;/nowiki&amp;gt; -&amp;gt; {{ifexist|abcdef|true|false}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tark</name></author>
	</entry>
</feed>