Template:PDFLink: Difference between revisions

From Saintapedia
Jump to navigation Jump to search
m (1 revision imported)
m (Text replacement - "Powerpedia" to "Saintapedia")
 
Line 6: Line 6:
"params": {
"params": {
"1": {
"1": {
"label": "Powerpedia filename.pdf",
"label": "Saintapedia filename.pdf",
"required": true,
"required": true,
"description": "Type the name of the file you want to link to. It is not necessary to include File: at the start of the name.",
"description": "Type the name of the file you want to link to. It is not necessary to include File: at the start of the name.",
Line 18: Line 18:
}
}
},
},
"description": "Creates a direct link to Acrobat PDF files stored on Powerpedia, followed by a PDF icon and a link to the Powerpedia page for the file.",
"description": "Creates a direct link to Acrobat PDF files stored on Saintapedia, followed by a PDF icon and a link to the Saintapedia page for the file.",
"format": "inline"
"format": "inline"
}
}

Latest revision as of 20:43, 16 September 2024

[[Media:{{{1}}}|{{{1}}}]] PDF icon.png [[:Image:{{{1}}}|Link]]

Creates a direct link to Acrobat PDF files stored on Saintapedia, followed by a PDF icon and a link to the Saintapedia page for the file.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Saintapedia filename.pdf1

Type the name of the file you want to link to. It is not necessary to include File: at the start of the name.

Filerequired
Link label2

Add alternate text if you want something other than the filename to be shown (for instance, if you don't want to show .pdf at the end).

Stringsuggested