Template:Category more if exists

![]() | 此模板使用Lua语言: |
A variant of {{Category more}} which links only to pages which actually exist
用法
[编辑]{{Category more if exists|Spain}}
produces: 脚本错误:没有“Category more if exists”这个模块。
{{Category more if exists|xyx1234567 this page no exist}}
produces: 脚本错误:没有“Category more if exists”这个模块。
Multiple link targets
[编辑]{{Category more if exists|Spain|Japan|France}}
produces: 脚本错误:没有“Category more if exists”这个模块。
{{Category more if exists|Planet G45401|Spain|Xyzabcdefistan|Japan|France}}
produces: 脚本错误:没有“Category more if exists”这个模块。
{{Category more if exists|Planet G45401|Spain|Xyzabcdefistan|South Qwetryopitania}}
produces: 脚本错误:没有“Category more if exists”这个模块。
{{Category more if exists|Planet G45401|Xyzabcdefistan}}
produces: 脚本错误:没有“Category more if exists”这个模块。
模板数据
[编辑]This templates adds a 'For more information, see ...' statement with a maximum of 5 linked Wiki pages. Each link can be labelled with a user-defined new text. If no label is defined, the link will display with its original page name.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
first link | 1 | First link to a Wiki page, formatted as 'internal' Wiki-link, f.e. 'WP:WikiProject' or 'articlename' | 字符串 | 必需 |
second link | 2 | Second link to another Wiki page, same formatting as the first link. Note: 3 more links 3,4,5 can be added manually | 字符串 | 可选 |