Difference between revisions of "Template:LinkIfExists"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>Category:Templates'''This takes one argument and either displays it as a link (if the page exists) or as plaintext (if not)'''<br/></noinclude><includeonly>{{#i...")
 
m (t)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Templates]]'''This takes one argument and either displays it as a link (if the page exists) or as plaintext (if not)'''<br/></noinclude><includeonly>{{#if: {{{1|}}}|{{#ifexists: {{{1|}}}|[[{{{1}}}|{{{1|}}}}}}}</includeonly>
+
<noinclude>[[Category:Templates]]'''This takes one argument and either displays it as a link (if the page exists) or as plaintext (if not)'''<br/></noinclude><includeonly>{{#if: {{{1|}}}|{{#ifexist: {{{1|}}}|[[{{{1}}}]]|{{{1|}}}}}}}</includeonly>

Latest revision as of 11:23, 8 October 2016

This takes one argument and either displays it as a link (if the page exists) or as plaintext (if not)