साँचा:श्रेणी मुख्य/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 =
}}
This template uses Lua: |
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
TemplateData for श्रेणी मुख्य
Specifies the primary article(s) associated with this category
प्राचल | वर्णन | प्रकार | स्थिति | |
---|---|---|---|---|
Article 1 | 1 | Name of primary article, if different from category name
| पृष्ठ | वैकल्पिक |
Article 2 | 2 | Name of second main article
| पृष्ठ | वैकल्पिक |
Article 3 | 3 | Name of third main article
| पृष्ठ | वैकल्पिक |
Article 4 | 4 | Name of fourth main article
| पृष्ठ | वैकल्पिक |
Article 5 | 5 | Name of fifth main article
| पृष्ठ | वैकल्पिक |
See also