Difference between revisions of "Template:PDF"
From AYSO Wiki
Jeffbailey (talk | contribs) (Update Template with example from MediaWiki Widgets) |
Jeffbailey (talk | contribs) m (Give better labels for the PDF Template.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
"params": { | "params": { | ||
"name": { | "name": { | ||
− | "label": " | + | "label": "File name on the Wiki", |
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"required": false, | "required": false, | ||
Line 13: | Line 13: | ||
}, | }, | ||
"url": { | "url": { | ||
− | "label": "PDF | + | "label": "URL for PDF not on the Wiki", |
"type": "url", | "type": "url", | ||
"required": false, | "required": false, | ||
"description": "Link to PDF" | "description": "Link to PDF" | ||
+ | }, | ||
+ | "height": { | ||
+ | "label": "Height", | ||
+ | "type": "number", | ||
+ | "required": false, | ||
+ | "description": "Height in pixels (default 1050)" | ||
+ | }, | ||
+ | "width": { | ||
+ | "label": "Width", | ||
+ | "type": "number", | ||
+ | "required": false, | ||
+ | "description": "Width in pixels (default 750)" | ||
} | } | ||
} | } |
Latest revision as of 14:12, 28 March 2024
This is a Template for embedding PDFs.
Embedded a PDF
Parameter | Description | Type | Status | |
---|---|---|---|---|
File name on the Wiki | name | Link to PDF | File | optional |
URL for PDF not on the Wiki | url | Link to PDF | URL | optional |
Height | height | Height in pixels (default 1050) | Number | optional |
Width | width | Width in pixels (default 750) | Number | optional |