ಟೆಂಪ್ಲೇಟು:Cat main/doc

ವಿಕಿಪೀಡಿಯದಿಂದ, ಇದು ಮುಕ್ತ ಹಾಗೂ ಸ್ವತಂತ್ರ ವಿಶ್ವಕೋಶ

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.

Normal usage (uses category name for wiki link):

  • {{Cat main}}Lua error in ಮಾಡ್ಯೂಲ್:Cat_main at line 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 ವರ್ಗ:Dead or Alive is Dead or Alive (series) — then you will need to use one parameter to specify the article:

  • {{Cat main|Dead or Alive (series)}}Lua error in ಮಾಡ್ಯೂಲ್:Cat_main at line 26: attempt to call field 'formatPages' (a nil value).

Multiple articles[ಬದಲಾಯಿಸಿ]

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

  • {{Cat main|1}} results in Lua error in ಮಾಡ್ಯೂಲ್:Cat_main at line 26: attempt to call field 'formatPages' (a nil value).
  • {{Cat main|1|2}} results in Lua error in ಮಾಡ್ಯೂಲ್:Cat_main at line 26: attempt to call field 'formatPages' (a nil value).
  • {{Cat main|1|2|3|4|5}} results in Lua error in ಮಾಡ್ಯೂಲ್:Cat_main at line 26: attempt to call field 'formatPages' (a nil value).

Pages which aren't articles[ಬದಲಾಯಿಸಿ]

  • {{Cat main|WP:WikiProject|article=no}}Lua error in ಮಾಡ್ಯೂಲ್:Cat_main at line 26: attempt to call field 'formatPages' (a nil value).

TemplateData[ಬದಲಾಯಿಸಿ]

Specifies the primary article(s) associated with this category

Template parameters

ಪರಿಮಿತಿವಿವರನಮೂನೆಸ್ಥಾನಮಾನ
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[ಬದಲಾಯಿಸಿ]