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  



1.1  Multiple articles  





1.2  Pages which aren't articles  







2 TemplateData  





3 Redirects  





4 See also  














Template:Category main article






Afrikaans

Anarâškielâ
Аԥсшәа
العربية
Aragonés
ܐܪܡܝܐ
Արեւմտահայերէն
Armãneashti
Arpetan

Azərbaycanca
تۆرکجه
Basa Bali

 / Bân-lâm-gú
Башҡортса
Беларуская
Беларуская (тарашкевіца)
Български
Bosanski
Brezhoneg
Буряад
Català
Чӑвашла
Cebuano
Čeština
Chi-Chewa
Corsu
Dansk
الدارجة
Dolnoserbski


Eesti
Ελληνικά
Esperanto
فارسی
Fiji Hindi
Føroyskt
Français
ГӀалгӀай

  / Gõychi Konknni

Հայերեն
ि
Hornjoserbsce
Hrvatski
Ilokano
Bahasa Indonesia
Interlingua
Ирон
IsiZulu
Íslenska
Italiano
Jawa
Kapampangan
Къарачай-малкъар

Қазақша
Kurdî
Кыргызча
Latgaļu
Latina
Latviešu
Lëtzebuergesch
Лезги
Lietuvių
Ligure
Limburgs
Livvinkarjala
ि
Македонски

Malti

مازِرونی
Bahasa Melayu
Мокшень
Монгол

Nedersaksies


Нохчийн
Norsk bokmål
Norsk nynorsk
Occitan
ି
Oʻzbekcha / ўзбекча


پښتو
Polski
Português
Qırımtatarca
Română
Русиньскый
Русский
Sakizaya

سرائیکی
Scots
Shqip

Simple English
سنڌي
Slovenčina
Slovenščina
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Sunda
Svenska
Tagalog
ி
Tarandíne
Татарча / tatarça


Тоҷикӣ
Türkçe
Удмурт
Basa Ugi
Українська
اردو
Vèneto
Vepsän kel
Tiếng Vit


ייִדיש

Zazaki

 

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
 




In other projects  



Wikimedia Commons
MediaWiki
Meta-Wiki
Wikidata
Wikinews
Wikiquote
Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


Usage

This template is for use on Category pages, to refer to the primary article associated with this category, which most of the time, describes the entire set containing the category.

This template is not a replacement for adding a category to the main article. The main article of a category should always have the category set. Furthermore, the main article should always have a space as sort key so that it appears on top of a category. Example: the article Internet should have the category [[Category:Internet| ]].

Normal usage (uses category name for wiki link):

If the name of the main article is different than the name of the category — for example: if the main article for Category: Dead or Alive (series)isDead or Alive (franchise) — then you will need to use one parameter to specify the article:

Multiple articles

Simply append more articles as additional arguments (up to five):

Pages which aren't articles

The template should automatically detect titles being outside the article namespace, but this may also be set manually:

TemplateData

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

TemplateData for Category main article

Specifies the primary article(s) associated with this category

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Article 11

Name of primary article, if different from category name

Page nameoptional
Article 22

Name of second main article

Page nameoptional
Article 33

Name of third main article

Page nameoptional
Article 44

Name of fourth main article

Page nameoptional
Article 55

Name of fifth main article

Page nameoptional

Redirects

See also


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

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



This page was last edited on 30 December 2023, at 18:55 (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