• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Category more if exists/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Category more if exists
This is the template sandbox page for Template:Category more if exists (diff).
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 42,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template uses Lua:
  • Module:Category more if exists

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

Contents

  • 1 Usage
  • 2 Multiple link targets
  • 3 TemplateData
  • 4 Redirects
  • 5 See also

Usage

edit
{{Category more if exists|Spain}} produces:
For more information, see Spain

{{Category more if exists|xyx1234567 this page no exist}} produces:

Multiple link targets

edit
{{Category more if exists|Spain|Japan|France}} produces:
For more information, see Spain, Japan, and France
{{Category more if exists|Planet G45401|Spain|Xyzabcdefistan|Japan|France}} produces:
For more information, see Spain, Japan, and France
{{Category more if exists|Planet G45401|Spain|Xyzabcdefistan|South Qwetryopitania}} produces:
For more information, see Spain

{{Category more if exists|Planet G45401|Xyzabcdefistan}} produces:

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Category more if exists in articles based on its TemplateData.

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.

Template parameters[Edit template data]

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

edit
  • {{Cat more if exists}}

See also

edit
  • v
  • t
  • e
Hatnote templates for category pages
About
  • {{Category explanation}}
  • {{Category main article}}
  • {{Category main section}}
  • {{Main category}}
  • {{Category more}}
  • {{Category more if exists}}
See also
  • {{Category see also}}
  • {{Category see also if exists}}
  • {{Category see also if exists 2}}
  • {{Category pair}}
  • {{Preceding category}}
  • {{Succeeding category}}
Distinguish
  • {{Category distinguish}}
  • {{Category contrast}}
  • Outline
  • Category:Hatnote templates for category pages
  • See also other category-header templates
The above documentation is transcluded from Template:Category more if exists/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Category_more_if_exists/sandbox&oldid=1141679645"
Last edited on 26 February 2023, at 07:06

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 26 February 2023, at 07:06 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop