This module allows the creation of annotated images, akin to existing visual dictionaries. Below is an example invokation of the module along with its rendering.
{{#invoke:visual-dict|labeled_image|image=Reading-Glasses.jpg| caption=Eyeglasses parts| width=300px| annotations= sta from 62.8 25.2 to 30.1 -21.3 ], sta from 165.2 93 to 218.1 30.2 ], sta from 75.4 89.8 to 25.4 152 ], sta from 33.6 90.3 to 2.5 110.3 ], sta from 128.8 100.2 to 143.2 161.2 ], sta from 178.4 95.2 to 247.9 121.8 ], sta from 164.8 99.3 to 228.4 154.2 ], sta from 106.2 11.8 to 73.1 -49.7 ], sta from 84.7 78.4 to 84.7 56.1 ], }}
Annotations for a given image are specified like so:
sta from start_pos_x start_pos_y to end_pos_x end_pos_y link
where the x and y positions are measured relative to the upper left corner of the annotated image. Position 0, 0 is therefore the upper left corner. Text labels are specified using wikicode links as shown in the example above.
A single annotated image can appear in multiple pages through the transclusion mechanism.
For instance, the below figure is transcluded from User:Jeran_Renz/Sandbox.
⚠ This module is under construction. ⚠