Template:DocLink: Difference between revisions

From USApedia
m (1 revision imported)
m (Text replacement - "Powerpedia" to "Saintapedia")
Line 6: Line 6:
"params": {
"params": {
"1": {
"1": {
"label": "Powerpedia filename.docx",
"label": "Saintapedia filename.docx",
"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 Word files stored on Powerpedia, followed by a Word icon and a link to the Powerpedia page for the file.",
"description": "Creates a direct link to Word files stored on Saintapedia, followed by a Word icon and a link to the Saintapedia page for the file.",
"format": "inline"
"format": "inline"
}
}
</templatedata>[[Category:Favorite templates]][[Category:Templates with TemplateData]][[Category:Media templates]]
</templatedata>[[Category:Favorite templates]][[Category:Templates with TemplateData]][[Category:Media templates]]
</noinclude>
</noinclude>

Revision as of 20:45, 16 September 2024

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

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Saintapedia filename.docx1

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 the .docx file extension).

Stringsuggested