Difference between revisions of "Template:PDF"

From AYSO Wiki
m (Add Width)
m (Give better labels for the PDF Template.)
 
Line 7: Line 7:
 
     "params": {
 
     "params": {
 
         "name": {
 
         "name": {
             "label": "PDF File",
+
             "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 URL",
+
             "label": "URL for PDF not on the Wiki",
 
             "type": "url",
 
             "type": "url",
 
             "required": false,
 
             "required": false,

Latest revision as of 14:12, 28 March 2024

This is a Template for embedding PDFs.

Embedded a PDF

Template parameters

ParameterDescriptionTypeStatus
File name on the Wikiname

Link to PDF

Fileoptional
URL for PDF not on the Wikiurl

Link to PDF

URLoptional
Heightheight

Height in pixels (default 1050)

Numberoptional
Widthwidth

Width in pixels (default 750)

Numberoptional