Difference between revisions of "Template:Cat more if exists/doc"

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
(→‎Redirects: {{Tlx|Category more if exists}})
imported>BrownHairedGirl
({{High use|36914}})
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
{{High use|36914}}
 
{{Lua|Module:Cat more if exists}}
 
{{Lua|Module:Cat more if exists}}
 
A variant of {{tl|Cat more}} which links only to pages which actually exist
 
A variant of {{tl|Cat more}} which links only to pages which actually exist

Latest revision as of 15:12, 3 October 2020

A variant of {{Cat more}} which links only to pages which actually exist

Usage

{{cat more if exists|Spain}} produces: Script error: No such module "Cat more if exists".

{{cat more if exists|xyx1234567 this page no exist}} produces: Script error: No such module "Cat more if exists".

Multiple link targets

{{cat more if exists|Spain|Japan|France}} produces: Script error: No such module "Cat more if exists".

{{cat more if exists|Planet G45401|Spain|Xyzabcdefistan|Japan|France}} produces: Script error: No such module "Cat more if exists".

{{cat more if exists|Planet G45401|Spain|Xyzabcdefistan|South Qwetryopitania}} produces: Script error: No such module "Cat more if exists".

{{cat more if exists|Planet G45401|Xyzabcdefistan}} produces: Script error: No such module "Cat more if exists".

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Cat 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.

Template parameters

ParameterDescriptionTypeStatus
first link1

First link to a Wiki page, formatted as 'internal' Wiki-link, f.e. 'WP:WikiProject' or 'articlename'

Stringrequired
second link2

Second link to another Wiki page, same formatting as the first link. Note: 3 more links 3,4,5 can be added manually

Stringoptional

Redirects

See also