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 31: | Line 31: | ||
| 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 75: | ||
| 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=== |