Help:Introduction to images with Wiki Markup/3: Difference between revisions

Content deleted Content added
Undid revision 987545077 by FeaturedPics (talk) nighttime photo was good
m invert icon in dark mode
 
(3 intermediate revisions by 3 users not shown)
Line 2:
[[File:Durdle Door Overview.jpg|thumb|[[Durdle Door]], a [[natural arch]] near [[Lulworth Cove]]]]
Once your image is uploaded to Commons or Wikipedia, you will probably want to use it in an article. Simply click {{menu icon|Edit|non}} on the article you want to include the image in, then add the following where you want the image to appear:
 
 
:<code><nowiki>[[File:Image name.jpg|thumb|Caption for the image]]</nowiki></code>
 
 
For example:
<presyntaxhighlight lang="wikitext">[[File:Durdle Door Overview.jpg|thumb|[[Durdle Door]], a [[natural arch]] near [[Lulworth Cove]]|alt=Beach with a large rocky arch over the water]]</presyntaxhighlight>
The [[File:OOjs UI icon image-ltr.svg|20px|class=skin-invert|link=|alt=Image icon]] button also works. Notice that the caption can contain links.
 
 
[[File:Colosseum in Rome, Italy - April 2007.jpg|thumb|left|The [[Colosseum]] in Rome|alt=See caption]]
By default, images display on the right side of the article. You can place images on the left side of the article by including <code><nowiki>|left</nowiki></code>:
<presyntaxhighlight lang="wikitext">[[File:Colosseum in Rome, Italy - April 2007.jpg|thumb|left|The [[Colosseum]] in Rome]]</presyntaxhighlight>
 
 
See [[Wikipedia:Extended image syntax]] for more details on adjusting the display of images, including their size.