跳转到内容

Template:Link if exists/doc

维基百科,自由的百科全书

使用方法

[编辑]

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.

另见

[编辑]