Commons:Embedding media
From Wikimedia Commons
English | Русский | Valencià | (+/- (http://commons.wikimedia.org/w/wiki.phtml?title=Template:Lang-em&action=edit))
Table of contents |
Media formats
Images
Use PNG file format for internal embedded images.
See also:
- Commons:Image
- Wikipedia:Image markup for recommendations on the best markup to use.
- For ideas and examples of how to place images, see Wikipedia:Picture tutorial.
Sounds
Use Ogg files for sounds or videos.
See also: Commons:Sound
Embedding media into Wikimedia pages
Embedding internal media
"Internal" refers to both the same Wikimedia Project and Commons. An image name is assumed to refer to the one in the same project if it exists there, otherwise to one on Commons.
Only proper images can be automatically presented, sound is not automatically played.
To include an image in a page, use a link in the form [[image:file.jpg]] or [[image:file.png|alt text]] where file is the file name.
Example: Using [[Image:Wikimedia-logo.png]], the image Wikimedia-logo.png is included:
To include a sound use [[media:file.ogg]]
Embedding external media
External images can not always be embedded, this depends on the settings of the project: it has been disabled on many of the larger Wikipedias, including the English and German, to prevent vandalism and bandwidth theft from other sites, but it is allowed on many other Wikimedia projects, including Meta and the Dutch Wikipedia.
If enabled on this project there is an image here, otherwise
just a link to an image: http://en.wikipedia.org/upload/b/bc/Wiki.png
(the text used for this image is
http://en.wikipedia.org/upload/b/bc/Wiki.png)
See also
- More examples: Images and other uploaded files.
- Navigational maps.