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

साँचा:Hide in print

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

सामग्री

  • १ Usage
    • १.१ Examples
      • १.१.१ hides edit link bug1
      • १.१.२ hides edit link bug2
  • २ See also

Usage

सम्पादन

This template simply returns the passed parameter. It can be used to exclude parts of a page (or template) in PDF versions. This works since it is a member of Category:Exclude in print.

Please note that hiding text in PDFs currently works different from hiding text for "normal printing". To hide something in normal printing, please use class="noprint" or {{noprint}}.

Please also note that this template has an unresolved bug such that it hides edit links from any included sections. This means that using this template may inconvenience editors. However, without the Hide in print wrapper, any PDF will include possibly unwanted parts. Therefore, please avoid using this template to hide sections.

Examples

सम्पादन
{{hide in print|text to be hidden}}


{{hide in print|1=text to be hidden that uses an = sign}}


Edit section link bug

{{hide in print|1=====hides edit link bug1====
If you can edit the section "hides edit link bug1" then one hide link bug has been resolved. Otherwise, the bug is still present.}}

The above boxed example produces the below unboxed result

hides edit link bug1

If you can edit the section "hides edit link bug1" then one hide link bug has been resolved. Otherwise, the bug is still present.


{{hide in print|1=text to be hidden that includes a section header

====hides edit link bug2====
If you can edit the section "hides edit link bug2" then a second possible hide link bug has been resolved. Otherwise, the bug is still present.}}

The above boxed example produces the below unboxed result

text to be hidden that includes a section header

hides edit link bug2

If you can edit the section "hides edit link bug2" then a second possible hide link bug has been resolved. Otherwise, the bug is still present.

See also

सम्पादन
  • {{Only in print}}
  • {{Noprint}}
  • सहायता:संकलन
उपरिलिखित विवरण पृष्ठ साँचा:Hide in print/विव से ट्रांसक्लूड किया गया है। (संपादन | इतिहास)
संपादकगण इस साँचे के प्रयोगपृष्ठ (बनाएँ | मिरर करें) और testcases (बनाएँ) पन्नों पर परीक्षण संपादन कर सकते हैं।
श्रेणियाँ कृपया /विव उपपृष्ठ पर जोड़ें। इस साँचा के उपपृष्ठ।
"https://hi.wikibooks.org/w/index.php?title=साँचा:Hide_in_print&oldid=73810" से प्राप्त
अंतिम बार १५ जून २०२१ को ०६:०४ बजे संपादित किया गया

भाषाएँ

    • English
    • 日本語
    • 한국어
    • Bahasa Melayu
    • Nederlands
    • Српски / srpski
    • ไทย
    • Tiếng Việt
    विकिपुस्तक
    • Wikimedia Foundation
    • Powered by MediaWiki
    • इस पृष्ठ का पिछला बदलाव १५ जून २०२१ को ०६:०४ बजे हुआ था।
    • उपलब्ध सामग्री CC BY-SA 4.0 के अधीन है जब तक अलग से उल्लेख ना किया गया हो।
    • गोपनीयता नीति
    • विकिपुस्तक के बारे में
    • अस्वीकरण
    • आचार संहिता
    • विकासक
    • सांख्यिकी
    • कुकी का वर्णन
    • उपयोग की शर्तें
    • डेस्कटॉप