3,496 bytes added
, 10:05, 13 March 2018
m{{Merge|Help:file page}}
{{GC2.0 Tools Help gcp}}
{{TOCleft}}
{{Clear}}
= Uploading Media =
You can upload images and other files to GCpedia, as long as they are resident on your computer and acceptable file types. Simply click on the '''upload file link''' in the toolbox on the left-hand side of any GCpedia window. Once you are in the upload file page, click on the browse button and navigate to the file in your computer. Click on the file, and the wiki will fill the second box with the file’s name. You have an opportunity to change the name if you like, and can also add comments to the summary box if necessary.
:''For detailed instructions, please see our tutorial on [[How do I upload a file and link to it from GCpedia? | how to upload and link to a file on Gcpedia]].''
'''Conflicts'''
Sometimes there will already be a file with the same name as the file you are trying to upload. When this happens, you are presented with a link to the existing file, which you can click to view, and a choice of two options:
*'''Save File''': Clicking this button will overwrite the existing file, so it is highly recommended that you know what the existing file is before doing so.
*'''Re-upload''': Click this button to go back and specify a new name for the file, if you do not wish to overwrite the existing file.
==Images==
{{ambox|text=In the examples given below, note that '''Image:''' and '''File:''' can be used interchangeably in wiki markup.}}
After you have the image, putting it in the page is a simple matter. Below is the code for placing an image uploaded to the wiki on a page, and the result.
<nowiki>[[Image:Monitors.jpg]]</nowiki>
[[Image:Monitors.jpg |200 px]]
Alternatively, you can add a caption to an image, using the pipe character. This "alt" text will appear when a user hovers their mouse over the image.
<nowiki>[[Image:Monitors.jpg |You are hovering over me!]]</nowiki>
[[Image:Monitors.jpg |200 px|You are hovering over me!]]
You can also add the image to a page as a thumbnail (smaller version) by following the code below. "thumb" tells the wiki the image is to be added as a thumbnail, and "100px" tells the wiki to make it 100 pixels '''wide'''.
<nowiki>[[Image:Monitors.jpg |</nowiki>thumb|100px<nowiki>|Caption goes here]]</nowiki>
[[Image:Monitors.jpg|thumb|100px|Caption goes here]]
<br> <br> <br><br> <br>
As you can see, the above image is automatically shifted to the right. To align it to the left or centre, simply add "left" or "center"(note U.S. spelling) as shown in the codes below.
<nowiki>[[Image:Monitors.jpg |left]]</nowiki> <nowiki>[[Image:Monitors.jpg | center]]</nowiki>
[http://www.mediawiki.org/wiki/Help:Images For more information]
==MS-Word (.DOC) or Portable Document Format (.PDF) Documents==
To create a link to a media file other than an image (i.e. .PPT, .PDF, .DOC), use '''Media:''' instead of '''Image:'''
{| cellspacing="5" |
|-
| <pre>[[Media:your_file_name.doc | Caption for the file]]</pre>
| will appear as [[Media:your_file_name.doc | Caption for the file]]
|-
|<pre>[[Media:your_file_name.doc]]</pre>
| will appear as [[Media:your_file_name.doc]]
|}
If you uploaded a file with spaces in the file name you can change them to underscores or <nowiki>%20</nowiki> instead of spaces, or just leave the spaces in and GCpedia will figure things out. However if you want to use a caption after the pipe symbol you'll need to change the spaces.
[[Category: GCPEDIA Help|I]]
[[Fr:Aide:Images]]