Template:Uploadlink/doc: Difference between revisions
Template page
More actions
fandomwiki>Alianin mNo edit summary |
(No difference)
|
Revision as of 15:38, 3 September 2015
{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}
This template creates a direct link to upload a given file.
Usage
{{uploadlink|file}}
{{uploadlink|file|link text}}
{{uploadlink|file|reupload=yes}}
{{uploadlink|file|link text|reupload=yes}}
Setting reupload to yes indicates there is a file there and this link should be for uploading a new version. You should verify the file exists before using this form.
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.