Difference between revisions of "Template:LinkIfPageExists"
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]...") |
|||
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: | + | [[category:WikiSpooks Templates]]</noinclude><includeonly>{{#if: {{{1|}}} | {{#ifexist: {{{1}}}| [[{{{1}}}]] | {{{1}}}}}}}</includeonly> |
Revision as of 13:12, 5 December 2015
If the first argument is an existing page, make it a link, else just text.
Usage: {{LinkIfPageExists|ARG}}