Difference between revisions of "Template:Exist"

From Hackerspace ACKspace
Jump to: navigation, search
m (added category + some extra information)
m (doh, forgot category)
 
Line 4: Line 4:
 
Usage:
 
Usage:
 
<pre>{{exists | page | result if page exists | result if page does not exist }}</pre>
 
<pre>{{exists | page | result if page exists | result if page does not exist }}</pre>
</noinclude>
+
[[Category:Workaround templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 09:56, 21 October 2016

This helper template will work the same way as the #ifexist parser function with the difference that it doesn't trigger a 'wanted page' listing, which is typically something that you sometimes want to prevent in some cases (like check for a project image)

Usage:

{{exists | page | result if page exists | result if page does not exist }}