Template:Noprint

From Wikibooks, open books for an open world
Jump to: navigation, search

{{{1}}}

Template documentation[edit] [history] [purge]

Usage

This template simply returns the passed parameter. It can be used to exclude word or lines in print versions, be it printing of the web page or rendering as a PDF. 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

{{noprint|text to be hidden}}


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


See also