Template:Link if exists/doc

< Template:Link if exists
Revision as of 14:18, 16 January 2024 by Deadfire (talk | contribs) (Doc creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage[edit]

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[edit]

  • {{Linked}} – links if not already linked