Template:Noprint/doc

From Open Educational Resources
< Template:Noprint
Revision as of 07:25, 15 October 2016 by Yogi (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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