Book tool/Templates/Hide in print
This [[Template:Hide in print]] simply returns the passed parameter. It can be used to exclude parts of a page (or template) in print versions. This works since it is a member of Category:Exclude in print See Book tool/Help/Books/for experts for more information.