Difference between revisions of "Images formatting"
(Created page with "{{Concise}} Here is the code for an image that is commonly placed at the top of a wiki page:<br> <code><nowiki>200px|thumb|right|Caraway</nowiki...") |
|||
Line 31: | Line 31: | ||
* [http://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files Help:Images and other uploaded files] MediaWiki | * [http://meta.wikimedia.org/wiki/Help:Images_and_other_uploaded_files Help:Images and other uploaded files] MediaWiki | ||
* [http://meta.wikimedia.org/wiki/Help:Image_page Help:Image page] MediaWiki | * [http://meta.wikimedia.org/wiki/Help:Image_page Help:Image page] MediaWiki | ||
+ | |||
+ | |||
+ | [[Category:Formatting help]] |
Latest revision as of 09:23, 2 July 2015
Here is the code for an image that is commonly placed at the top of a wiki page:
[[File:Caraway Koeh-172.jpg|200px|thumb|right|Caraway]]
The file you use needs to have been uploaded to this wiki (click Upload file in the left bar). You must use the prefix 'File:'
The above code gives the following result:
100px instead of 250px: [[File:Caraway Koeh-172.jpg|100px|thumb|right|Caraway]]
Without caption:[[File:Caraway Koeh-172.jpg|100px|right|thumb]]
Without thumb and without caption:[[File:Caraway Koeh-172.jpg|100px|right]]
Place a link to an external website to make a clickable image:
[[File:Caraway Koeh-172.jpg|100px|link=http://en.wikipedia.org/wiki/Caraway]]
When you want to make sure that a new section, subsection or paragraph ends below the image, rather than next to it, you place this break code behind the image code.
<br clear="all"/>
or, using a template, {{brc}}
More help for images
- Help:Using Images from Commons
- Help:Images and other uploaded files MediaWiki
- Help:Image page MediaWiki