Difference between revisions of "Template:LinkIfExists"

From Wikispooks
Jump to navigation Jump to search
(fix)
m (t)
 
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)