Help:Contents/Images and media

From LipidomicsWiki

Revision as of 09:26, 13 August 2008 by Stefan Lehneis (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

Embedding mediadata

A very often needed feature in the Lipidomics Wiki is including any mediadata like pictures (jpg, png, gif,...) or/and movies (wmv, avi, mov,...).


Uploading the file

To include such a mediafile it first has to be uploaded to the Server by using the Link upload File in the toolbox at the sidebar.


Embedding the file

After it has been upload it can be included to any article. See the basics on how to learn more about including mediadata like images. Detailed information about Images and media can be found at the official Wikipedia website.

Embed options

The internal-link style markup for embedding a file can take various options separated with a pipe character ("|"). In brief, they are [[Image:{name}|{type}|{location}|{size}|{upright}|{border}|{caption}]].

Type 
'thumb' / 'thumbnail' or 'frame'. Causes image to be displayed with specific formatting (see below).
Location 
'right', 'left', 'center' or 'none'. Determines placement of the image on the page. Defaults to 'right', when combined with 'thumb' or 'frame'.
Size 
{width}px or {width}x{height}px, scales the image to be no greater than the given width and height, keeping its aspect ratio.
Upright 
for use only on images that are taller than they are wide. This scales the image differently, considering both width and height instead of only width.
Border 
adds a border around the image
Caption 
Any element which cannot be identified as one of the above is assumed to be caption text.

Examples

Code: [[Image:butyricAcid.jpg|thumb|left|butyric acid - straight chain 4 carbon atoms no double bond]]
Result:

butyric acid - straight chain 4 carbon atoms no double bond
butyric acid - straight chain 4 carbon atoms no double bond
Personal tools
Create a book