|
Log in / create account · | ||||||||||
Help:Images and other MediaFrom Travian v2 Wiki (S2-S6), the encyclopedia anybody can edit
[edit] Uploading MediaUsually, 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. [edit] ConflictsSometimes 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.
[edit] ImagesTo 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. [edit] Placing An Uploaded ImageAfter 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]] 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!]] 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|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! [edit] Placing An Externally Hosted ImageBelow 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
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.
|
|||||||||||
|
|||||||||||