Template:PDFLink: Difference between revisions

From USApedia
m (Text replacement - "Powerpedia" to "Saintapedia")
m (Text replacement - "Saintapedia" to "USApedia")
 
Line 6: Line 6:
"params": {
"params": {
"1": {
"1": {
"label": "Saintapedia filename.pdf",
"label": "USApedia 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 Saintapedia, followed by a PDF icon and a link to the Saintapedia page for the file.",
"description": "Creates a direct link to Acrobat PDF files stored on USApedia, followed by a PDF icon and a link to the USApedia page for the file.",
"format": "inline"
"format": "inline"
}
}

Latest revision as of 23:04, 14 November 2024

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

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
USApedia 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