Difference between revisions of "Template:LinkIfPageExists"

From Wikispooks
Jump to navigation Jump to search
(Created page with "<noinclude>'''If the first argument is an existing page, make it a link, else just text.'''<br/> Usage: <nowiki>{{LinkIfPageExists|ARG}}</nowiki> [[category:Utility Templates]...")
 
m (Text replacement - "WikiSpooks" to "Wikispooks")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>'''If the first argument is an existing page, make it a link, else just text.'''<br/>
 
<noinclude>'''If the first argument is an existing page, make it a link, else just text.'''<br/>
 
Usage: <nowiki>{{LinkIfPageExists|ARG}}</nowiki>
 
Usage: <nowiki>{{LinkIfPageExists|ARG}}</nowiki>
[[category:Utility Templates]]</noinclude><includeonly>{{#if: {{{1|}}} | {{#ifexist: {{{1}}}| [[{{{1}}}]] | {{{1}}}}}}}</includeonly>
+
[[category:Wikispooks Templates]]</noinclude><includeonly>{{#if: {{{1|}}} | {{#ifexist: {{{1}}}| [[{{{1}}}]] | {{{1}}}}}}}</includeonly>

Latest revision as of 17:19, 14 October 2018

If the first argument is an existing page, make it a link, else just text.
Usage: {{LinkIfPageExists|ARG}}