Wikisage is op 1 na de grootste internet-encyclopedie in het Nederlands. Iedereen kan de hier verzamelde kennis gratis gebruiken, zonder storende advertenties. De Koninklijke Bibliotheek van Nederland heeft Wikisage in 2018 aangemerkt als digitaal erfgoed.
- Wilt u meehelpen om Wikisage te laten groeien? Maak dan een account aan. U bent van harte welkom. Zie: Portaal:Gebruikers.
- Bent u blij met Wikisage, of wilt u juist meer? Dan stellen we een bescheiden donatie om de kosten te bestrijden zeer op prijs. Zie: Portaal:Donaties.
Sjabloon:Hide in print: verschil tussen versies
(http://en.wikipedia.org/w/index.php?title=Template:Hide_in_print&oldid=388689196) |
(→Usage: +) |
||
Regel 5: | Regel 5: | ||
'''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 {{tl|noprint}}. | '''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 {{tl|noprint}}. | ||
'''Please also note''' that this template has an unresolved bug such that it hides edit links from any included sections, see [ | '''Please also note''' that this template has an unresolved bug such that it hides edit links from any included sections, see {{Span|[http://en.wikipedia.org/wiki/Template:Hide_in_print#Hides_edit_link_bug 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=== | ===Examples=== |
Huidige versie van 19 mrt 2012 om 12:30
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.
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
<poem>{{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.}}</poem>
|
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.
<poem>{{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.}}</poem>
|
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.