Wikipedia:Image markup with HTML: Difference between revisions

Content deleted Content added
Blank line after image code: File:STS-32 crew.jpg
Change and format hatnote
 
(5 intermediate revisions by 3 users not shown)
Line 1:
{{historical}}
 
''{{hatnote|'''Note: this page is deprecated - donever notformat useimages HTMLlike ifthis!''' It is provided youpurely canfor helphistorical itinterest. PleaseFor usea thequick new,guide extendedto imageadding syntaximages, whichsee provides[[Help:Pictures]]. imageFor resizinga andcomprehensive alignment.guide, Seesee [[Wikipedia:Extended image syntax]].'''''}}
 
----------
 
<div class="floatright">[[Image:SunflowersA sunflower.jpg|140px|alt text]]
 
Caption</div>
Line 20:
 
== Column of images, floated ==
 
See the [https://en.wikipedia.org/w/index.php?title=Floppy_disk&oldid=2071852 2003 version of Floppy disk] for an example.
 
----
 
Markup for images is quite complicated. This may be improved in the future: see [[meta:image pages]]. Here are some examples of typical markup ("'''image'''" for an image in the page, "'''media'''" for just a link):
Line 63 ⟶ 67:
If you want to make a link to the description page for an image, use a leading colon before "image:" in an intra-wiki link, like this: <nowiki>[[:image:STS-32 crew.jpg|STS-32 crew]]</nowiki> which yields: [[:image:STS-32 crew.jpg|STS-32 crew]]
 
==Blank line after image code==File:STS-32 crew.jpg
 
Always put a blank line after the image code to avoid an ugly indentation of the text with Internet Explorer.