Wikipedia:Image markup with HTML: Difference between revisions

Content deleted Content added
Chris 73 (talk | contribs)
No edit summary
Change and format hatnote
 
(21 intermediate revisions by 19 users not shown)
Line 1:
{{historical}}
'''Note: this page is deprecated - do not use HTML if you can help it. Please use the new, extended image syntax, which provides image resizing and alignment. See [[Wikipedia:Extended image syntax]]'''
 
{{hatnote|'''Note: this page is deprecated – never format images like this!''' It is provided purely for historical interest. For a quick guide to adding images, see [[Help:Pictures]]. For a comprehensive guide, see [[Wikipedia:Extended image syntax]].}}
 
----------
 
<div class="floatright">[[Image:SunflowersA thumbnailsunflower.jpg|140px|alt text]]
 
Caption</div>
 
== rightRight-floating image with caption ==
 
<code><nowiki><div class="floatright">[[Image:image name|alt text]]</nowiki></code>
Line 17 ⟶ 19:
--------------
 
== columnColumn of images, floated ==
 
(seeSee the [[https://en.wikipedia.org/w/index.php?title=Floppy_disk&oldid=2071852 2003 version of Floppy disk]] for an example).
 
----
Line 46 ⟶ 48:
|large central picture
|<code><nowiki><center>[[Image:NAME|Alt text]]<br>''Caption''</center></nowiki></code>
|-
|}
 
Line 62 ⟶ 63:
Some recommend using &lt;small> for captions, so they appear <small>like this</small>.
 
== linkLink to the image description page ==
 
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]]
Line 75 ⟶ 76:
*[[Wikipedia:Finding images tutorial]]
 
 
[[Category:Wikipedia images|Image markup]]
[[es:Wikipedia:Cómo se añaden imágenes]]
[[sv:Wikipedia:Bildmallar]]