Help:Incorporating Images and Other Files into Cases
Contents
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]]
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