Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Uploadlink/doc: Difference between revisions

Template page
fandomwiki>@DeletedUser40302604
m 1 revision imported
fandomwiki>Pcjbot
mNo edit summary
Line 8: Line 8:
  <nowiki>{{uploadlink|file|link text|reupload=yes}}</nowiki>
  <nowiki>{{uploadlink|file|link text|reupload=yes}}</nowiki>


Setting <tt>reupload</tt> to <tt>yes</tt> 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.
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}}

Revision as of 01:16, 14 November 2018

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}

Documentation

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.

Contents