Template:Download PDF/doc
Use this template to make a button that downloads a PDF containing a specified set of pages.
Examples
[edit source]To download the current page:
{{Download PDF}}
To download a specific page:
{{Download PDF|Adobe}}
To download a specified set of pages:
{{Download PDF|Adobe, Bamboo, Solar cooker}}
To further customize the PDF and button:
{{Download PDF
| logo = Self-lq-transparent.png
| logo-width = 200
| title = NREMT Skillset
| text = The materials in this course encompass the psychomotor skills necessary to meet EMT certification standards in the state of California and gaining eligibility to sit the NREMT cognitive exam.
| pages = Donning and Doffing PPE, Scene Assessment Upon Arrival (PENMAN), Primary Assessment, Vital Signs Assessment, SAMPLE History Taking, Cardiopulmonary Resuscitation (CPR), Lifting and Moving Patients
| qr-page = NREMT Skillset
| button = Download the NREMT Skillset
}}
To download the PDF as a booklet:
{{Download PDF
| booklet = yes
| pages = Adobe, Bamboo, Solar cooker
}}
See also
[edit source]- Template:Download ZIM
- MediaWiki:Gadget-Download.js - JavaScript of this template
Template data
[edit source]Use this template to make a button that downloads a PDF containing a specified set of pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Pages | pages 1 | Comma-separated list of pages to add to the PDF
| String | suggested |
| Title | title | Title in the cover
| String | optional |
| Subtitle | subtitle | Subtitle in the cover
| String | optional |
| Text | text | Additional text in the cover
| String | optional |
| Logo | logo | File name of the logo in the cover
| File | optional |
| Logo width | logo-width | Width of the logo in the cover (in pixels)
| Number | optional |
| QR page | qr-page | Page to link from the QR code in the cover
| Page name | optional |
| Button | button | Text of the button
| String | optional |
| Booklet | booklet | Download the PDF as a booklet ready to fold and print
| Boolean | optional |