Template:CalloutAnnotation
Used to annotate an image, with one or more text blocks on the left, and lines from each text block pointing to items in the image.
Usage
{{CalloutAnnotationBlock|[[image:xyz.png]]| {{CalloutAnnotation| Text that appears in a block to the left of the image.|v=100|pt=153,115|path=r-}} {{CalloutAnnotation| Text for a second block|v=200|pt=212,215|path=b/}} }}
- «text» : The text that appears on the left
Type=Bare
: Annotation has no surrounding box and is right-justified.- «v»: The vertical starting position of the block relative to the top of the annotation block.
- «pt»: the point in image coordinates that the annotation points to.
- «path»: An optional path.
- r : center of right edge of text block
- l : center of right edge of text block
- t : center of top edge of text block
- b : bottom edge of text block
- ! : vertical line from current point to y of «pt»
- - : horizontal line from current point to x of «pt»
- (120,345) : line to intermediate point in image coordinates
- (120,*): horizontal line to x=120
- (*,345): vertical line to y=345
- / : horizontal line to a point 45-degrees from «pt»
- U10: Vertical line to 10 pixels up from current
- D10: Vertical line to 10 pixels down from current
- R10: Vertical line to 10 pixels right from current
- L10: Vertical line to 10 pixels left from current.
- m:Move without drawing. Applies only to the next command from the preceding options. For example:
mb
is move to the bottom.
- After the final point specified in «path», a final line to «pt» is added. If «path» is not specified, or does not begin with
t
orb
, then it starts atr
. - Example of a path:
tU50-
- Start at top of text box, go up 50 pixels, then horizontal, finally a vertical down to «pt».
- «n»: Set n=1 for the first step, and n=+ for a next enumerated step incrementing the step number.