Logo Log in / create account · 
 

Help:Images and other Media

From Travian v2 Wiki (S2-S6), the encyclopedia anybody can edit

Jump to: navigation, search
Note: Image uploading on Travian v2 Wiki (S2-S6) is disabled!



Contents

Uploading Media

Usually, you can upload media by clicking the "Upload File" link. This link can be found (If you are using the default layout) on the menu at the right, in the "toolbox", just beneath the search box. Uploading a file is very self explainatory. Click the "Browse" button to brows your computer for a file you wish to upload. When you've found the file, the Wiki should automatically fill the second box with the file's name, but you can change this if you feel like it. Remember the link to your file will be "Image:" + Whatever is in this second box (in the case of an image) or "Media:" + the text in the second box (in the case of other media).

Finnally, if you wish, you can add comments. These will not affect the file in any way.

Conflicts

Sometimes there will already be a file with the same name of 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 over right 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

To put an image in a wiki page, first it must be hosted somewhere. You can upload one to the wiki, and in fact, this is perfered. You'll need to have the image handy on your computer to upload it.

Placing An Uploaded Image

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.

[[Image:Img_upld.gif]]

Image:Img upld.gif

Alternatively, you can add a caption to an image, using a pipe. This text will appear when a user hovers thier mouse over the image.

[[Image:Img_upld.gif|You are hovering over me!]]

Image:Img upld.gif

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.

[[Image:Img_upld.gif|thumb|100px|Caption goes here]]

Image:Img upld.gif








As you can see, the above image is automatically shifted to the right. To align it to the left or center is, simply add "left" or "center" as show in the codes below.

[[Image:Img_upld.gif|left|thumb|100px|Caption goes here]]
[[Image:Img_upld.gif|center|thumb|100px|Caption goes here]]


There are a few more things you can do with images. Experiment!

Placing An Externally Hosted Image

Below is the code for an external image, hosted elsewhere. Thats right, just plop the URL right in the middle of the page.

http://www.soul-fantasy.net/images/img_host.gif

img_host.gif

A Note on hosted images: Remember, hosted images depend on the server they're hosted on being available. This can be a problem, as was the case when this page was first created.

Editing help

Editing basics

Advanced editing

Finding your way around the wiki

Page tricks

Advanced Timesavers

Communicating your edits

Misc

Policies and Guidelines

Guidelines

Policy Documents


MediaWiki