Difference between revisions of "Template:Uploadlink"

From Feed The Beast Wiki
Jump to: navigation, search
m (1 revision)
m
Line 10: Line 10:
 
<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.
   
 
[[Category:Formatting templates|{{PAGENAME}}]]
 
[[Category:Formatting templates|{{PAGENAME}}]]

Revision as of 16:31, 14 November 2018


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.