Formatting images in MediaWiki
Written by James RichardsonIf you do not know how to insert an image in MediaWiki, please see the previous article on how to insert images in MediaWiki. Formatting images in MediaWiki requires special wiki code to be inserted into your image code. Unfortunately, MediaWiki does not have the code built into their WYSIWYG editor. The following table will show how to format your images to float left and right, add captions, links and more.
MediaWiki image format code
Each MediaWiki code for formatting the image appearance can be combined with each other. The basic format for the image wiki code is as follows:
[[File:filename.extension|options|caption]]
To combine different attributes for the image, you can add the code similar to the following:
[[File:filename.extension|width|frame|border|caption]]
The following is not exhaustive; however, you will be able to format your MediaWiki images with the code in the following table.
Adding content to MediaWiki
Working with namespaces and pages | |
| 1. | How to create pages in MediaWiki |
| 2. | How to edit MediaWiki pages |
| 3. | Adding pages to MediaWiki namespaces |
| 4. | Deleting and restoring pages in MediaWiki |
| 5. | Adding and removing redirects in MediaWiki |
Formatting and inserting content | |
| 6. | How to format content in MediaWiki |
| 7. | Enabling user image uploads in MediaWiki |
| 8. | How to insert images into MediaWiki |
| 9. | Formatting images in MediaWiki |
| 10. | Creating an Image Gallery in MediaWiki |
Latest Questions
Need more Help?
Search
Ask the Community!
Current Customers
| Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |













