Help:Incorporating Images and Other Files into Cases

From AquaPedia Case Study Database
Revision as of 16:34, 25 January 2013 by Amanda (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Including images from Wikimedia Commons

Files from Wikimedia Commons can be included in AquaPedia without special links. After viewing any image from Wikimedia Commons, there are some options on the right hand side of the page. Select "Use this File on a wiki" and cut and paste the short code provided. It will look something like this:

[[File:Filename.jpg]]



Select the option for "Use this File on a wiki" to get the image code to include it on AquaPedia

AquaPedia currently doesn't have support for display SVG files, so it will provide a link to such files, rather than displaying them.

Formatting images to enhance article layout

By default, images are not formatted when included in AquaPedia. However, you can modify the image tag to allow for resizing (reduction only), adding captions, and aligning an image (center, right, left).

We provide a few basic examples here, but a full guide can be found on the MediaWiki website.

Basic Image Formatting

General Syntax:

[[File:Filename.jpg| width | alignment | format | caption ]]

with the values:

  • width: provides the width of the image for rescaling. Height will automatically comply.
example: 400px
  • alignment: center, left, right
  • format: frame, thumb, frameless (default). using "frame" disables the ability to specify image size.
  • caption: the caption value. This caption is only visible when the format is "frame" or "thumb"

Examples

[[File:Grüttpark - Winter3.jpg|thumb|Grüttpark - Winter3]] renders

File:Grüttpark - Winter3.jpg
Grüttpark - Winter3


[[File:Grüttpark - Winter3.jpg| 400px | Grüttpark - Winter3]] renders

Grüttpark - Winter3


[[File:Grüttpark - Winter3.jpg| 400px | center | Grüttpark - Winter3]] renders


[[File:Grüttpark - Winter3.jpg| 400px | thumb | center | Grüttpark - Winter3]] renders

File:Grüttpark - Winter3.jpg
Grüttpark - Winter3