doc

From SubSurfWiki
Jump to navigation Jump to search

This template can be placed in an article to specify how notes on the included images should be shown.

{{ImageAnnotations|inline=...|thumb=...|shared=...}}

The inline and thumb parameters work just like the corresponding parameters of {{InlineImageAnnotations}}.

The shared parameter switches on (default) or off the display of notes on images displayed in the article that come from a shared repository (i.e., the Commons).

If shared is

  • show, on, or true, notes on such remote images are shown, subject to the rules defined by the inline and thumb parameters.
  • hide, off, or false, notes on remote images are not shown.

Definitions made through this template for an article may override definitions made through {{InlineImageAnnotations}} for the image. So, if the file description page of a file Foo.jpg contains {{InlineImageAnnotations|thumb=icon}} but an article X containing this image Foo.jpg specifies {{ImageAnnotations|thumb=hide}}, notes on Foo.jpg will not be shown in article X. Similarly, if article X specifies {{ImageAnnotations|thumb=show}}, the notes will be shown in article X even though the file description page says to show only an icon.

Note that for this template, thumb=show has the effect of overriding a per-image specification. The default is also "show", but if it's not specified explicitly, the specification from the image will override that default. The same is true for the inline parameter.