Changes

Jump to navigation Jump to search
1,037 bytes added ,  07:25, 15 October 2016
m
1 revision imported
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

=== 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 <code>class="noprint"</code> to any block element in order to hide that content from printing.

===Examples===
{| style="border:solid;border-width:1px;border-color:grey"
|<code><nowiki>{{noprint|text to be hidden}}</nowiki></code>
|}
<br />
{| style="border:solid;border-width:1px;border-color:grey"
|<code><nowiki>{{noprint|1=text to be hidden that uses an = sign}}</nowiki></code>
|}
<br />

=== See also ===
* {{tl|Hide in print}}
* {{tl|Only in print}}
*[[Help:Collections]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Print templates|{{PAGENAME}}]]
</includeonly>

Navigation menu