Actions

Help

Add a Picture: Difference between revisions

From EastKingdomWiki

m (Added supported file types)
Line 13: Line 13:
To put an image on a page you add the following with code:
To put an image on a page you add the following with code:
<pre>[[Image:DestinationFile.jpg]]</pre>
<pre>[[Image:DestinationFile.jpg]]</pre>
using the destination file name of the image you with wish to show.
using the destination file name of the image you with wish to show.  The image file names are case sensitive - "WolffauerDevice.gif" is not the same as "WolffauerDevice.GIF".


To add a photo or device image to your populace page, find the Populace template on your page:
To add a photo or device image to your populace page, find the Populace template on your page:

Revision as of 14:36, 11 February 2010

Upload the Image

To add a photo or image to a wiki page, you need to first upload the image file to the wiki.

  1. On left side of the screen, in the toolbox section is the "Upload file" link. Click this to get to the upload page.
  2. Use the "Browse" button to locate the file you want to upload. Supported file types are .GIF, .JPG and .PNG.
  3. If needed, change the Destination filename to something simple and descriptive. Avoid names like "Device.gif", and instead use something like "WolffauerDevice.gif"
  4. The Summary section can be used to describe the image, credit the source and classify the image. The classifications for images most commonly used are:
[[Category:Populace Armorial]] - used for personal and household devices and badges
[[Category:Territory Armorial]] - used for local group devices and badges
[[Category:Photos]] - used for all photos

Click "Upload file" and the file will be added to the wiki.

Add an Image to a Wiki Page

To put an image on a page you add the following with code:

[[Image:DestinationFile.jpg]]

using the destination file name of the image you with wish to show. The image file names are case sensitive - "WolffauerDevice.gif" is not the same as "WolffauerDevice.GIF".

To add a photo or device image to your populace page, find the Populace template on your page:

{{Populace
|photo = [[Image:Photo needed.jpg|200px]]
|photocaption = Caption Needed
|location = 
|status = 
|device = [[Image:Device needed.jpg|200px]] 
|devicecaption = Heraldry Needed 
|awards = 
|offices = 
}}

Replace the place holder file name ("Photo needed.jpg" or "Device needed.jpg") with the destination file name of the image you wish to show. For example:

|device = [[Image:WolffauerDevice.gif|200px]]

The "|200px" tells the wiki to display the image with a width of 200 pixels. If your image is smaller then that you can remove it, otherwise it will be expanded to fill 200 pixels.

Preview your page, and confirm the that the image shows up. If all is good, save the page.