Template:Ifexist/doc: Difference between revisions

→‎Example: the input-output pair is better explainable this way
(Created page with "This template checks for existence of pages. The <code>#ifexist</code> parser function exists as part of the ParserFunctions extension, but w...")
 
(→‎Example: the input-output pair is better explainable this way)
Line 25: Line 25:


==Example==
==Example==
<pre>* The page {{ifexist|Ash's Pikachu|"[[Ash's Pikachu]]" exists|"Ash's Pikachu" doesn't exist}}.</pre>
* The page {{ifexist|Ash's Pikachu|"[[Ash's Pikachu]]" exists|"Ash's Pikachu" doesn't exist}}.
* The page {{ifexist|Ash's Pikachu|"[[Ash's Pikachu]]" exists|"Ash's Pikachu" doesn't exist}}.
* The page {{ifexist|Ash's Mudkip|"[[Ash's Mudkip]]" exists|"Ash's Mudkip" doesn't exist}}.
<pre>* The page {{ifexist|Ash's Mudkip|"[[Ash's Mudkip]]" exists|"Ash's Mudkip" doesn't exist}}.</pre>
 
<pre>
* The page {{ifexist|Ash's Pikachu|"[[Ash's Pikachu]]" exists|"Ash's Pikachu" doesn't exist}}.
* The page {{ifexist|Ash's Mudkip|"[[Ash's Mudkip]]" exists|"Ash's Mudkip" doesn't exist}}.
* The page {{ifexist|Ash's Mudkip|"[[Ash's Mudkip]]" exists|"Ash's Mudkip" doesn't exist}}.
</pre>
</pre>