Editing Template:Annotated image/doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 19: | Line 19: | ||
| caption = Cropped Mona Lisa | | caption = Cropped Mona Lisa | ||
}} | }} | ||
For examples see [[Template:Annotated image/doc/Samples]]. | |||
All parameters have names – there are no nameless "numbered" parameters. | All parameters have names – there are no nameless "numbered" parameters. | ||
Line 31: | Line 32: | ||
| caption || [[Wikipedia:Cheatsheet |wikitext]] || (required) || Caption of the image, goes in the usual place for image captions. | | caption || [[Wikipedia:Cheatsheet |wikitext]] || (required) || Caption of the image, goes in the usual place for image captions. | ||
|- | |- | ||
| alt || text || empty || Alt text of image, for readers who cannot see it. | | alt || text || empty || Alt text of image, for readers who cannot see it; see [[WP:ALT]]. | ||
|- | |- | ||
| image || valid image file name; Scalable Vector | | image || valid image file name; [[Scalable Vector Graphics |SVG]] images are allowed || (see note) || You must specify ''image'' or ''imagemap'' but not both. | ||
|- | |- | ||
| imagemap || valid (X)HTML imagemap || (see note) || You must specify ''image'' or ''imagemap'' but not both. | | imagemap || valid (X)HTML imagemap || (see note) || You must specify ''image'' or ''imagemap'' but not both. | ||
Line 75: | Line 76: | ||
| annot-color || any valid CSS color || (optional, no default value) || Sets a default color for all the contained annotations. You can over-ride this for individual annotations if you wish. | | annot-color || any valid CSS color || (optional, no default value) || Sets a default color for all the contained annotations. You can over-ride this for individual annotations if you wish. | ||
|} | |} | ||
=== Example === | |||
[[Template:Annotated image/Extinction]] | |||
===Pitfall=== | ===Pitfall=== | ||
Line 82: | Line 87: | ||
<includeonly> | <includeonly> | ||
</includeonly> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
</includeonly> |