Help:Upload

From UCSC Wiki

Jump to: navigation, search

How to upload a file

The logical method for us to upload a file would be to 1st upload the file and then link the file in a page. But Mediawiki uses a different approach by allowing you to create the link first. If the file is not availble in the wiki, it will display it as a "red" link thus indicating that it is a dead link. By just clicking on this "red" link you will be re-directed to the Upload file page where you could upload the file you need to link. If the file already exists in the wiki, you will not be redirected to the Upload file page.

The details of linking a Image file and a file of a different type are given below with examples.

Optional parameters marked "†".

Image File

When uploading images it is best if the file type is "jpg". It make life a 1000 times easier :D.

 [[Image:<file_name.ext>|†thumb|†size|†alignment|†Example caption]] 
 [[Image:example.jpg]] 

Example.jpg

 [[Image:example.jpg|thumb|100px|left|Example Left aligned Image caption]] 
Example Left aligned Image caption









 [[Image:example.jpg|thumb|right|Example Right aligned Image caption]] 
Example Right aligned Image caption










Other Files

[[Media:<file_name.ext>|†File link Text]]
[[Media:example.pdf]] 

Media:example.pdf

[[Media:example.pdf|Example PDF file]] 

Example PDF file

Test upload File 1

Test upload File 2

Test upload File 3

Personal tools