Difference between revisions of "Template:Print version/doc"
From CannaQAWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) m (1 revision imported: Attempting import of LIMSwiki templates Portal–Rh/doc) |
Shawndouglas (talk | contribs) m (Updated for LabLynx Wiki) |
||
Line 39: | Line 39: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category: | [[Category:LabLynx Wiki book tool]] | ||
</includeonly> | </includeonly> |
Revision as of 03:04, 3 March 2015
This is a documentation subpage for Template:Print version. It contains usage information, categories, interlanguage links, and other content that is not part of the original template page. |
This is the {{print version}} template.
It is used to make a template (or a part of a page or template) display different things when viewing a page online on the web versus when exporting the page as a PDF or book. This is useful when something doesn't render nicely as a PDF or book.
Usage
This template takes two parameters. Like this:
{{print version | print = Code for the PDF and book version. | web = Code for the online version. }}
Here on this template page that renders this:
- Code for the online version.
Note that this template shows the web version when printing directly from the web browser. The print version is only used when exporting as a PDF or book.
Technical details
This template uses the sub-template {{print version/web}} for parts of its functionality.
See also
- {{noprint}} – Hides its content both when printing directly from the web browser and when exporting as a PDF or book.
- {{hide in print}} – Hides its content when exporting as a PDF or book.
- {{only in print}} – Only shows its content when exporting as a PDF or book.
- Help:Books/For experts#Improving the book layout – About the different methods to control what is seen when printing.