Difference between revisions of "Template:Multipdf"
Jump to navigation
Jump to search
(Created page with "<includeonly> {{#loop: page | 1 | {{{2|}}} | [[File:{{{1|}}}|page={{#var:page}}|class=img-fluid]] }} </includeonly>") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{#loop: page | + | {{#loop:page |
− | | 1 | + | |1 |
− | | {{{2|}}} | + | |{{{2|}}} |
− | | [[File:{{{1|}}}|page={{#var:page}}|class=img-fluid]] | + | |[[File:{{{1|}}}|page={{#var:page}}|class=img-fluid]] |
}} | }} | ||
</includeonly> | </includeonly> | ||
+ | <noinclude> | ||
+ | <templatedata> | ||
+ | { | ||
+ | "params": { | ||
+ | "1": { | ||
+ | "label": "File name", | ||
+ | "example": "Example file.pdf", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "2": { | ||
+ | "label": "Number of pages", | ||
+ | "example": "2", | ||
+ | "type": "number" | ||
+ | } | ||
+ | }, | ||
+ | "description": "Displays all pages of a multipage PDF", | ||
+ | "paramOrder": [ | ||
+ | "1", | ||
+ | "2" | ||
+ | ] | ||
+ | } | ||
+ | </templatedata> | ||
+ | </noinclude> |
Latest revision as of 16:18, 19 August 2022
Displays all pages of a multipage PDF
Parameter | Description | Type | Status | |
---|---|---|---|---|
File name | 1 | no description
| String | optional |
Number of pages | 2 | no description
| Number | optional |