Help us get to over 8,769 articles in 2026.

If you know of a magician not listed in MagicPedia, start a New Biography for them. Contact us at magicpediahelp@gmail.com

Template:Exists: Difference between revisions

From Magicpedia, the free online encyclopedia for magicians by magicians.
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifeq:{{anchorencode:{{lc:[[:{{{page|{{{1|defaultFalse}}}}}}]]}}}}|{{anchorencode:{{lc:{{:{{{page|{{{1|defaultFalse}}}}}}}}}}}}|{{{else|0}}}|{{{then|1}}}}}</inc...")
 
mNo edit summary
 
Line 3: Line 3:


The full syntax for using it is:
The full syntax for using it is:
<nowiki>
{{exists | page=page | then=result if page exists | else=result if page does not exist }}
</nowiki>


{{exists | page=page | then=result if page exists | else=result if page does not exist }}
</noinclude>
</noinclude>

Latest revision as of 13:32, 30 January 2015

This template tests whether a given page exists. It can be useful in view of the maximum number of #ifexist calls that can be used on a page. (However, in the case of frivolous use of #ifexist which was the reason for the limit, do not replace this use with frivolous use of this template!)

The full syntax for using it is: {{exists | page=page | then=result if page exists | else=result if page does not exist }}