Testcase imagemap syntax example
From MediaWiki extension testing
Contents |
Expected result if correct
A image on which can be clicked. If clicking the keyboard the keyboard page should be visible.
Example
<imagemap> Image:Hello.jpg|200px|a friendly greeting poly 131 45 213 41 210 110 127 109 [[Display]] poly 104 126 105 171 269 162 267 124 [[Keyboard]] rect 15 95 94 176 [[Foo type A]] # A comment, this line is ignored circle 57 57 20 [[Foo type C]] desc bottom-left </imagemap>
Precondition
The details pages in the image map must be created before this example can work.