Help:Images: Difference between revisions
(Created page with "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 inter...") |
No edit summary |
||
Line 1: | Line 1: | ||
Adding images to a wiki article can be a complex process. The Mediawiki software underlying the TS Wiki is '''not | 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. | ||
<br> | <br> | ||
<br> | <br> | ||
The basic syntax for displaying an image is: | The basic syntax for displaying an image is: | ||
'''<nowiki>[[File:filename.extension| | '''<nowiki>[[File:filename.extension|position|framing|size|caption]]</nowiki>''' | ||
The options are case-sensitive, and must be typed in all lower case letters. Each option is separated by a '''pipe symbol''', '''<nowiki>|</nowiki>''', from the next option. | |||
* 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. | |||
<br> | |||
If the text wraps around the image in an unattractive way, it is often useful to add '''line breaks''' '''<nowiki><br></nowiki>''' to force the text or image to a different position. | |||
<br> | <br> | ||
<br> | <br> | ||
See Mediawiki's article [http://www.mediawiki.org/wiki/Help:Images Help:Images] for the complete array of options in placement of images. Another good source of information is [http://simple.wikipedia.org/wiki/Help:How_to_use_images Wikipedia in Simple English's Help:How to use images] | See Mediawiki's article [http://www.mediawiki.org/wiki/Help:Images Help:Images] for the complete array of options in placement of images. Another good source of information is [http://simple.wikipedia.org/wiki/Help:How_to_use_images Wikipedia in Simple English's Help:How to use images] |
Revision as of 16:47, 6 June 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 by a pipe symbol, |, from the next option.
- 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. Another good source of information is Wikipedia in Simple English's Help:How to use images