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

Content deleted Content added
m I am akshay yellol
Tags: Visual edit Mobile edit Mobile web edit
m invert icon in dark mode
 
(26 intermediate revisions by 17 users not shown)
Line 1:
<noinclude>{{pp-protected|reason=Persistent [[WP:Disruptive editing|disruptive editing]]|small=yes}}</noinclude>{{intro to|
I am akshay yellol
[[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:
<syntaxhighlight 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]]</syntaxhighlight>
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>:
<syntaxhighlight lang="wikitext">[[File:Colosseum in Rome, Italy - April 2007.jpg|thumb|left|The [[Colosseum]] in Rome]]</syntaxhighlight>
 
See [[Wikipedia:Extended image syntax]] for more details on adjusting the display of images, including their size.
}}