Difference between revisions of "Template:Uploadlink/doc"
Jump to navigation
Jump to search
>Maintenance script-gpuser m (Automated Import) |
>Pcjbot m |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>{{uploadlink|file|link text|reupload=yes}}</nowiki> | <nowiki>{{uploadlink|file|link text|reupload=yes}}</nowiki> | ||
| − | Setting < | + | Setting <code>reupload</code> to <code>yes</code> 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. |
{{doc/end}} | {{doc/end}} | ||
Latest revision as of 23:00, 13 November 2018
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.