Template:ImageWithNotes

From Birocapedia
Revision as of 13:24, 14 November 2009 by Harry (talk | contribs) (→‎Usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Usage

{{subst:ImageWithNotes|img=''image link''}}

This template can be used to switch on the ImageAnnotator on a page other than the file description page.

ImageAnnotator recognizes this template, and switches on note display for any images so encapsulated, even if the image is displayed on an arbitrary page. If the page contains exactly one ImageWithNotes template and is visited directly (as opposed to being viewed on yet another page through transclusion), ImageAnnotator even switches on adding and editing notes. If there are multiple ooccurrences of the template on one page (for instance, as the result of transcluding several pages), only note viewing is allowed.

This can be used to create "local" notes stored on some page other than the file description page and visible only when that other page is viewed, without interfering with any notes the image might have on its file description page.

Note that this template must be substed! It won't work otherwise!