模板:Link if exists/doc
跳转到导航
跳转到搜索
| File:Edit-copy green.svg | 此页面是Template:Link if exists的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
使用方法[编辑]
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.
另见[编辑]
- {{AutoLink}}
- {{Link if equal}}
- {{Link if not current}}
- {{LinkCatIfExists}}
- {{LinkCatIfExists2}}