Difference between revisions of "WikiRaider:Integrating images"

From WikiRaider
Jump to: navigation, search
m
Line 9: Line 9:
 
: (if width > height)
 
: (if width > height)
 
* '''<tt><nowiki>[[</nowiki>{{ns:file}}<nowiki>:</nowiki>'''$imagename'''<nowiki>|200px|thumb|right|</nowiki>'''$title'''<nowiki>]]</nowiki></tt>'''
 
* '''<tt><nowiki>[[</nowiki>{{ns:file}}<nowiki>:</nowiki>'''$imagename'''<nowiki>|200px|thumb|right|</nowiki>'''$title'''<nowiki>]]</nowiki></tt>'''
: (if width > height)
+
: (if width < height)
  
  

Revision as of 15:05, 5 September 2009

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)

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>

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.