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

साँचा:Shelves

  • भाषा
  • ध्यान रखें
  • स्रोत देखें
(साँचा:अलमारियाँ से अनुप्रेषित)
साँचा विवरण[देखें] [संपादन] [इतिहास] [पर्ज़ करें]

यह साँचा किसी पुस्तक को किसी एक अलमारी (अथवा कई अलमारियों) में सूचीबद्ध करता है, साथ ही पुस्तक श्रेणी भी जोड़ता है।

प्रयोगविधि

इस साँचे का प्रयोग केवल किसी पुस्तक के मुख्य पन्ने पर ही करना होता है। इस साँचे में प्राचल के रूप में अलमारी के नाम देना होता है जैसे कि:

{{अलमारियाँ|भूगोल|पर्यावरण|इत्यादि}}

ऐसी श्रेणियों के लिए जो किसी अलमारी से संबंधित नहीं हैं, जैसे कि श्रेणी:प्रकार अनुसार पुस्तकें की उप श्रेणियाँ, आप साँचा {{Categories}} का प्रयोग करें।

किसी पुस्तक के उपपृष्ठों, अर्थात मुख्य पन्ने के अलावा उस पुस्तक के हिस्से के रूप में बने बाकी पन्नों पर {{BookCat}} साँचे का प्रयोग किया जाना चाहिए।

आतंरिक कार्य

This template is responsible for adding books to the hidden allbooks categories, which allow automatic generation of lists of books belonging either to a given shelf or to any of its sub-shelves. When this template detects that it is being used on the main page of a book, for each shelf specified it calls {{shelves/leaf}}, via Module:TScope#map. This is why this template should only be used for shelf categories: {{shelves/leaf}} uses shelf pages to figure out which allbooks categories to add the book to, and if there are no shelf pages to consult, it reports the problem to श्रेणी:पुस्तक:विकिपुस्तक स्टैक/ध्यान देने की आवश्यकता. By using {{categories}} for non-subject categories, one avoids nuisance reports to श्रेणी:पुस्तक:विकिपुस्तक स्टैक/ध्यान देने की आवश्यकता.

The book is also added to hidden श्रेणी:पुस्तक:विकिपुस्तक स्टैक/पुस्तकें; and, if no shelves are specified, to श्रेणी:पुस्तक:विकिपुस्तक स्टैक/पुस्तकें/बिनाअलमारी.

If the template detects that it was called on a page that isn't the main page of a book, it does nothing.

This template can be induced to display diagnostic messages, explaining why it has put the page in श्रेणी:पुस्तक:विकिपुस्तक स्टैक/ध्यान देने की आवश्यकता, by specifying parameter diagnose=true.

इन्हें भी देखें

  • {{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
उपरिलिखित विवरण पृष्ठ साँचा:Shelves/विव से ट्रांसक्लूड किया गया है। (संपादन | इतिहास)
संपादकगण इस साँचे के प्रयोगपृष्ठ (बनाएँ | मिरर करें) और testcases (बनाएँ) पन्नों पर परीक्षण संपादन कर सकते हैं।
श्रेणियाँ कृपया /विव उपपृष्ठ पर जोड़ें। इस साँचा के उपपृष्ठ।
"https://hi.wikibooks.org/w/index.php?title=साँचा:Shelves&oldid=73851" से प्राप्त
अंतिम बार १७ जून २०२१ को ०५:०७ बजे संपादित किया गया

भाषाएँ

    • العربية
    • বাংলা
    • English
    • Español
    • Bahasa Indonesia
    • Bahasa Melayu
    • ਪੰਜਾਬੀ
    • တႆး
    • සිංහල
    • ไทย
    • 中文
    विकिपुस्तक
    • Wikimedia Foundation
    • Powered by MediaWiki
    • इस पृष्ठ का पिछला बदलाव १७ जून २०२१ को ०५:०७ बजे हुआ था।
    • उपलब्ध सामग्री CC BY-SA 4.0 के अधीन है जब तक अलग से उल्लेख ना किया गया हो।
    • गोपनीयता नीति
    • विकिपुस्तक के बारे में
    • अस्वीकरण
    • आचार संहिता
    • विकासक
    • सांख्यिकी
    • कुकी का वर्णन
    • उपयोग की शर्तें
    • डेस्कटॉप