• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:ImageNoteControl

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]

This template can be used to wrap image inclusions through [[File:Example.jpg|...]] to control the behavior of image annotations locally for a single image use. This also works for thumbnails.

Usage

{{ImageNoteControl}}

Template parameters

Parameter Description Default Status
img The image inclusion, for instance [[File:Example.jpg]], or [[File:Example.jpg|200px|thumb|right|Some text here]]. empty required
notes Defines how notes shall be displayed. If set to none or off, no image annotation will be displayed at all; the feature is switched off completely for this image use. If set to icon, only an indication icon will be displayed, but not the notes themselves. Any other value defaults to notes being displayed, subject to more global configurations within the article (see Template:ImageAnnotations) empty optional
caption If notes are shown, there is normally an additional image caption indicating the presence of notes. If this parameter is set to off, false, or none, this caption is suppressed. If only an indication icon is shown instead of the notes themselves, no caption is added anyway. on optional
type If set to inline or span, the image is wrapped with a <span> HTML tag, which does not break text flow. This is useful for the rare case where a large image flows directly within the text, but notes should be switched off. Any other value defaults to the image use being wrapped in a <div> HTML tag, which does break text flow (but that is normally not a problem, because most images are not flowing within the text. Note that image notes can also switched off by wrapping the image use in an inline-only tag such as e.g. <em>, or by setting the link parameter of the image use to nothing (as in [[File:Example.jpg|link=]]). Image notes are deactivated anyway on images smaller than 60×60 pixels. empty optional
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:ImageNoteControl&oldid=771840363"
Last edited on 23 March 2017, at 20:34

Languages

    • العربية
    • Basa Bali
    • भोजपुरी
    • فارسی
    • हिन्दी
    • Bahasa Indonesia
    • ქართული
    • Kurdî
    • Magyar
    • മലയാളം
    • ဘာသာမန်
    • नेपाली
    • Português
    • संस्कृतम्
    • Simple English
    • سنڌي
    • کوردی
    • Svenska
    • தமிழ்
    • తెలుగు
    • اردو
    • Tiếng Việt
    • 粵語
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 23 March 2017, at 20:34 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop