Mal:Gjem ved utskrift

Fra Wikipedia, den frie encyklopedi
Gå til: navigasjon, søk
Dokumentasjonsikon Maldokumentasjon[vis] [rediger] [historikk] [oppdater]

Formål[rediger | rediger kilde]

Bruk[rediger | rediger kilde]

Denne malen returnerer parameteren som gis. Den kan brukes for å ekskludere deler av en side (eller mal) i utskriftsversjoner.

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 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.

Eksempler[rediger | rediger kilde]

{{Gjem ved utskrift|tekst som skal skjules}}


{{Gjem ved utskrift|1=tekst som skal skjules som benytter et =-tegn}}


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.

Se også[rediger | rediger kilde]