Template:Category more if exists
This template uses Lua: |
A variant of {{Category more}} which links only to pages which actually exist
Usage[edit]
{{Category more if exists|Draconis Combine}}
produces:
{{Category more if exists|xyx1234567 this page no exist}}
produces:
Multiple link targets[edit]
{{Category more if exists|Draconis Combine|Alshain Regulars|Benjamin Regulars}}
produces:
{{Category more if exists|Planet G45401|Draconis Combine|Xyzabcdefistan|Alshain Regulars|Benjamin Regulars}}
produces:
{{Category more if exists|Planet G45401|Draconis Combine|Xyzabcdefistan|South Qwetryopitania}}
produces:
{{Category more if exists|Planet G45401|Xyzabcdefistan}}
produces:
TemplateData[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.
TemplateData for 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
first link | 1 | First link to a Wiki page, formatted as 'internal' Wiki-link, f.e. 'WP:WikiProject' or 'articlename' | String | required |
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 | String | optional |