سانچو:Hide in print
Usage
[سنواريو]This template simply returns the passed parameter. It can be used to exclude parts of a page (or template) in print versions. This works since it is a member of Category:Exclude in print.
As of جُولاءِ 2013[update], this template does not function but apparently there is a workaround.
Please note that the books functionality is still experimental. Hiding text in "PDF/book print" currently works different from hiding text for "normal printing". To hide something both in book and 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, see Template talk:Hide in print#Hides edit link bug. This means that using this template may inconvenience Wikipedia editors. However, without the Hide in print wrapper, any printed book or 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.
Template data
[سنواريو]TemplateData for Hide in print
This template is used to exclude parts of a page (or template) in book print versions.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Hidden text | 1 | Text to be hidden in print versions. | String | required |
See also
[سنواريو]- en:Help:Books
{{Noprint}}
– hides content both from regular printing and (like{{hide in print}}
) from "Create a book" feature{{Unprintworthy inline}}
a.k.a.{{Nomirror}}
– hides content from printing, and from mirroring{{Only in print}}
– Deprecated/malfunctional template that is supposed to hide content from online display but include it in print form
مٿي ڏنل دستاويز صفحو سانچو:Hide in print/دستاويز سان شامل ڪئي ويئي آهي۔ (سنواريو | تاريخچو) يوزر سانچي جي ريتخانو (تخليق | آئينو) ۽ ثابتات (تخليق) ۾ تجربا ڪري سگهن ٿا۔ براه ڪرم /دستاويز جي هيٺين صفحي تي زمرا شامل فرمايو۔ هن سانچو جا هيٺيان صفحا۔ |