Template:Uploadlink/doc

usage: gives you a link that goes directly to the upload page for File:foo.png.

You can provide a second parameter to change the text of the link. would link to the upload page for File:foo.png, but the link text would be "bar".