WikiRaider:Integrating images

From WikiRaider
Jump to: navigation, search

The Integration of Images should be done according to the guidelines.

Main Image

The first image of an article should be placed at the beginning of an article - before any text, except notes linking to other articles with the same name. If the article uses an infobox (as can be seen in the level article for Caves), no other main image should be added. The main image should ALWAYS be aligned on the right side.

To add such an image to any article, use the following source code:

  • [[File:$imagename|225px|thumb|right|$title]]
(if width > height)
  • [[File:$imagename|200px|thumb|right|$title]]
(if width < height)

Further Images

When placing other images in an article, use smaller versions and align them alternating right or left, or test using the Show Preview option and align as fits best.

  • [[File:$imagename|150px|thumb|right|$title]]
(aligned right; if width > height)
  • [[File:$imagename|113px|thumb|right|$title]]
(aligned right; if width < height)
  • [[File:$imagename|150px|thumb|left|$title]]
(aligned left; if width > height)
  • [[File:$imagename|113px|thumb|left|$title]]
(aligned left; if width < height)

Entry Result Rules

[[File:Yachtmed.jpg|150px|thumb|right|Lara's Yacht]] Other text here.

Lara's Yacht
Other text here.
aligned right; width > height

[[File:Yachtmed.jpg|150px|thumb|left|Lara's Yacht]] Other text here.

Lara's Yacht
Other text here.
aligned left; width > height

[[File:Jungleheavy.jpg|113px|thumb|right|Lara's Yacht]] Other text here.

Lara's Yacht
Other text here.
aligned right; height > width

[[File:Jungleheavy.jpg|113px|thumb|left|Lara's Yacht]] Other text here.

Lara's Yacht
Other text here.
aligned left; height > width

Gallery

When adding a picture gallery to an article, always use the gallery-function, never just place them next to each other.

Use the following source code:

<gallery>
Image:$imagename|Description 
Image:$imagename|Description 
Image:$imagename|Description 
</gallery>

Entry Result

<gallery>
Image:Kraken01.jpg|First encounter.
Image:Kraken02.jpg|Second encounter.
</gallery>


Empty source code, easier to fill in:

<gallery>
Image:|
Image:|
Image:|
Image:|
Image:|
Image:|
</gallery>

Naming an Image

Before you upload an image, you should carefully think about the file type and name you pick for it, to make it easier for the whole team to organize images.

  • Images should be .jpg, .png or .gif.
  • Images should be named after the object they show.

e.g. A nice name for an enemy picture of bats would be bats.jpg. If there already is an image with this name, use something like bat02.jpg or bat_tr2.jpg.