• घर
  • बेतरतीब
  • लॉग-इन करें
  • सेटिंग्स
Donate Now If this site has been useful to you, please give today.
  • विकिपुस्तक के बारे में
  • अस्वीकरण
विकिपुस्तक

साँचा:Subjects

  • भाषा
  • ध्यान रखें
  • सम्पादित करें
साँचा विवरण[देखें] [संपादन] [इतिहास] [पर्ज़ करें]
यह साँचा बहुत सारे पृष्ठों पर प्रयोग में आ रहा है, इसमें किये जाने बदलावों का व्यापक प्रभाव परिलक्षित होगा। अतः कोई भी बदलाव करने से पहले उसे साँचा प्रयोगस्थल पर जाँच लें अथवा चर्चा पृष्ठ पर इस बारे में चर्चा करके बदलाव करें।

This template categorizes a book in up to 10 subject categories, plus the book category (this is automatic). The book category can be modified by setting the bookcategory variable. You can also use this on subpages of a book and it will only add the book category; however, {{BookCat}} is recommended for subpages.

For non-subject categories (typically, descendants of Category:Books by type), use template {{categories}} instead of this template.

Usage

सम्पादन

{{subjects|mathematics|science|etc}}

Internals

सम्पादन

This template is responsible for adding books to the hidden allbooks categories, which allow automatic generation of lists of books belonging to a given subject or any of its sub-subjects. When this template detects that it is being used on the main page of a book, for each subject specified it calls {{subjects/leaf}}. This is why this template should only be used for subject categories: {{subjects/leaf}} uses subject pages to figure out which allbooks categories to add the book to, and if there are no subject pages to consult, it reports the problem to Category:Attention needed (allbooks). By using {{categories}} for non-subject categories, one avoids nuisance reports to Category:Attention needed (allbooks).

This template can be induced to display diagnostic messages, explaining why it has put the page in Category:Attention needed (allbooks), by specifying parameter diagnose=true.

See also

सम्पादन
  • {{categories}} — adds book to non-subject categories
  • {{alphabetical}} — adds book to alphabetical classification
  • {{status}} — classifies book by completion status
  • {{BOOKNAME}} — Returns the name of the book including the namespace
उपरिलिखित विवरण पृष्ठ साँचा:Subjects/विव से ट्रांसक्लूड किया गया है। (संपादन | इतिहास)
संपादकगण इस साँचे के प्रयोगपृष्ठ (बनाएँ | मिरर करें) और testcases (बनाएँ) पन्नों पर परीक्षण संपादन कर सकते हैं।
श्रेणियाँ कृपया /विव उपपृष्ठ पर जोड़ें। इस साँचा के उपपृष्ठ।
"https://hi.wikibooks.org/w/index.php?title=साँचा:Subjects&oldid=71342" से प्राप्त
अंतिम बार २७ मई २०२१ को १८:१९ बजे संपादित किया गया

भाषाएँ

    • العربية
    • Башҡортса
    • বাংলা
    • English
    • Español
    • Bahasa Melayu
    • ਪੰਜਾਬੀ
    • Русский
    • တႆး
    • Тоҷикӣ
    • ไทย
    • 中文
    विकिपुस्तक
    • Wikimedia Foundation
    • Powered by MediaWiki
    • इस पृष्ठ का पिछला बदलाव २७ मई २०२१ को १८:१९ बजे हुआ था।
    • उपलब्ध सामग्री CC BY-SA 4.0 के अधीन है जब तक अलग से उल्लेख ना किया गया हो।
    • गोपनीयता नीति
    • विकिपुस्तक के बारे में
    • अस्वीकरण
    • आचार संहिता
    • विकासक
    • सांख्यिकी
    • कुकी का वर्णन
    • उपयोग की शर्तें
    • डेस्कटॉप