Help:Images: Difference between revisions
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
Images can be displayed in galleries - small images in a row across a page. For more information and examples see the Wikipedia article [http://en.wikipedia.org/wiki/Wikipedia:Gallery_tag Gallery tag] and Mediwiki's article [http://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images Rendering a gallery of images]. | Images can be displayed in galleries - small images in a row across a page. For more information and examples see the Wikipedia article [http://en.wikipedia.org/wiki/Wikipedia:Gallery_tag Gallery tag] and Mediwiki's article [http://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images Rendering a gallery of images]. | ||
[[Category:TSWiki infrastructure]] |
Revision as of 21:06, 7 July 2012
Adding images to a wiki article can be a complex process. The Mediawiki software underlying the TS Wiki is not WYSIWYG ("what you see is what you get") in its graphic interface. Therefore, you have sometimes have to experiment a bit to get an image into the desired size and position.
The basic syntax for displaying an image is:
[[File:filename.extension|position|framing|size|caption]]
The options are case-sensitive, and must be typed in all lower case letters. Each option is separated from the next option by a pipe symbol, |.
- Option for position of the image: left, center, right - default is right
- Option for framing the image: frame, thumb - default is no framing
- Option for image size: A number followed by px (i.e. 200px for 200 pixels in width)
- Option for caption: any words that are not keywords are used as the caption.
If the text wraps around the image in an unattractive way, it is often useful to add line breaks <br> to force the text or image to a different position.
See Mediawiki's article Help:Images for the complete array of options in placement of images. Other good sources of information are:
- Wikipedia in Simple English's Help:How to use images
- YouTube video: How To Upload Images on Media Wiki
- Sunshine Review YouTube video: Add images to a wiki.
Galleries
Images can be displayed in galleries - small images in a row across a page. For more information and examples see the Wikipedia article Gallery tag and Mediwiki's article Rendering a gallery of images.