साँचा:श्रेणी मुख्य/doc

मुक्त ज्ञानकोश विकिपीडिया से
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

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):

  • साँचा:tlxलुआ त्रुटि Module:Cat_main में पंक्ति 26 पर: attempt to call field 'formatPages' (a nil value)।

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 is Dead or Alive (series) — then you will need to use one parameter to specify the article:

  • साँचा:tlxलुआ त्रुटि Module:Cat_main में पंक्ति 26 पर: attempt to call field 'formatPages' (a nil value)।

Multiple articles

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

  • साँचा:tlx results in लुआ त्रुटि Module:Cat_main में पंक्ति 26 पर: attempt to call field 'formatPages' (a nil value)।
  • साँचा:tlx results in लुआ त्रुटि Module:Cat_main में पंक्ति 26 पर: attempt to call field 'formatPages' (a nil value)।
  • साँचा:tlx results in लुआ त्रुटि Module:Cat_main में पंक्ति 26 पर: attempt to call field 'formatPages' (a nil value)।

Pages which aren't articles

  • साँचा:tlxलुआ त्रुटि Module:Cat_main में पंक्ति 26 पर: attempt to call field 'formatPages' (a nil value)।

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. click here to see a monthly parameter usage report for this template.

TemplateData for श्रेणी मुख्य

साँचा:template other

Specifies the primary article(s) associated with this category

साँचा प्राचल

प्राचलवर्णनप्रकारस्थिति
Article 11

Name of primary article, if different from category name

डिफ़ॉल्ट
पृष्ठवैकल्पिक
Article 22

Name of second main article

डिफ़ॉल्ट
पृष्ठवैकल्पिक
Article 33

Name of third main article

डिफ़ॉल्ट
पृष्ठवैकल्पिक
Article 44

Name of fourth main article

डिफ़ॉल्ट
पृष्ठवैकल्पिक
Article 55

Name of fifth main article

डिफ़ॉल्ट
पृष्ठवैकल्पिक

See also