Difference between revisions of "Template:Link if exists"

From blackwiki
Jump to navigation Jump to search
imported>Dekimasu
m (Dekimasu moved page Template:Linkif to Template:Link if exists: per discussion on the talk page and move request listed at WP:RM)
imported>The Earwig
m (Protected "Template:Link if exists": Highly visible template: thousands of mainspace transclusions ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(No difference)

Revision as of 07:51, 14 December 2015

{{{1}}}

Template documentation[view] [edit] [history] [purge]

Usage

For use as a subtemplate of other templates. Displays the first parameter, linked if an article exists, otherwise unlinked. You can also define a parameter nsp, for the namespace to try to link to (e.g. "nsp=Category"). Use prefix instead of nsp if the prefix is also to be displayed if a link is found.

See also