साँचा:Hide in print/विव
यह एक साँचा विवरण उपपृष्ठ है साँचा:Hide in print के लिए (ख़ुद साँचा पृष्ठ के लिए उसे ही देखें)। यहाँ प्रयोगविधि, श्रेणियाँ और अन्य संबंधित जानकारी रखी गयी है जो मूल साँचा पृष्ठ पर न लिख कर यहाँ लिखी गयी है और वहाँ प्रदर्शित होती है। |
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
|
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.
|
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}}
- सहायता:संकलन