Template:InlineImageAnnotations

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:InlineImageAnnotations/doc.

This template can be used to restrict the display of image annotations in articles where the image appears. The template can be placed on a file description page to specify how notes on the file should be displayed when the image is used in articles. It does not activate display if notes are switched off for a given group of users or images in the site-wide configuration.

Usage

{{InlineImageAnnotations |inline= |thumb= }}

Template parameters

Parameter Description Default Status
inline
control inline images One of “show”, “hide”, and “icon”. “Show” means showing inline (not thumbnail) images’ notes in the articles, “hide” means hiding them completely, and “icon” means not showing the notes themselves, but only an icon suggesting the reader can find notes on the description page. If this parameter is set to “hide”, the other parameter has no effect, thumbnails’ notes are also hidden. show optional
thumb
control thumbnail images One of “show”, “hide”, and “icon” (see explanations at the other parameter). This parameter controls thumbnail images’ notes. show optional

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

Localization

This template is not intended to be localized.

Examples

To allow display of notes only for inline images, but to show only an icon on thumbnails, use

{{InlineImageAnnotations|inline=show|thumb=icon}}

or just

{{InlineImageAnnotations|thumb=icon}}

To only show icons on all images, use

{{InlineImageAnnotations|inline=icon|thumb=icon}}

To not show notes on thumbnails at all, but to show them for inlined uses of the image, use

{{InlineImageAnnotations|thumb=hide}}