Template:Noprint/doc

From Wikisource
Jump to navigation Jump to search

Usage[edit]

This template simply returns the passed parameter wrapped in a SPAN tag with its class set to "noprint". It can be used to exclude word or lines in print versions, be it printing of the web page, rendering as PDF or printing as an actual Book. Common uses include hiding elements that make no sense in print such as: "Click the name of a town on the map for more details".

Where possible you can also use class="noprint" to any block element in order to hide that content from printing.

Examples[edit]

{{noprint|text to be hidden}}


{{noprint|1=text to be hidden that uses an = sign}}


See also[edit]