Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Multiple link targets  





3 TemplateData  





4 Redirects  





5 See also  














Template:Category more if exists






العربية

فارسی

Bahasa Indonesia
Македонски
Bahasa Melayu

کوردی

Tiếng Vit
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:Cat more if exists)

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

Usage

{{Category more if exists|Spain}} produces:

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

Multiple link targets

{{Category more if exists|Spain|Japan|France}} produces: {{Category more if exists|Planet G45401|Spain|Xyzabcdefistan|Japan|France}} produces: {{Category more if exists|Planet G45401|Spain|Xyzabcdefistan|South Qwetryopitania}} produces:

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

TemplateData

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

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Category_more_if_exists&oldid=1141680008"

Categories: 
Lua-based templates
Hatnote templates for category pages
Hidden categories: 
Wikipedia template-protected templates
Templates using TemplateData
 



This page was last edited on 26 February 2023, at 07:10 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki