Difference between revisions of "Template:Multipdf"

From Wayne County, Ohio Online Resource Center
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

Template parameters

ParameterDescriptionTypeStatus
File name1

no description

Example
Example file.pdf
Stringoptional
Number of pages2

no description

Example
2
Numberoptional