Template:ImageNote
Used by Help:Gadget-ImageAnnotator to store embedded notes for an image.
The template automatically sets the following categories:
- (optionally) Images with annotations
- (optionally) Images with 10+ annotations
Usage
{{ImageNote |id= |x= |y= |w= |h= |dimx= |dimy= |style= }}
This should not be used manually, but should be added by Help:Gadget-ImageAnnotator. The note consists of all the text between this image node and the closing {{ImageNoteEnd}} with the same id.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
id 1 | ID | An identifier to unique identify this ImageNote on a particular page | empty | required |
x 2 | X coordinate | The X coordinate of the annotation | empty | required |
y 3 | Y coordinate | The Y coordinate of the annotation | empty | required |
w 4 | annotation width | The width of the annotation | empty | required |
h 5 | annotation height | The height of the annotation | empty | required |
dimx 6 | image width | The width of the entire image | empty | required |
dimy 7 | image height | The height of the entire image | empty | required |
style | style | I don't know what this does, but it seems to be required | empty | required |
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information Used by ImageAnnotator gadget to store embedded notes for an image, should not be used manually.
|
Additional information
The template is intended to be used in the following namespaces: the File namespace
The template is intended to be used by the following user groups: all users
Placement: At the bottom of the page
Relies on:
{{Iffile}}
See also
Localization
This template is not intended to be localized.