You are here: TWiki » TWikiVariables » VarICONURL

ICONURL{"name"} -- URL of small documentation graphic or icon

  • Generates the full URL of a TWikiDocGraphics image, which TWiki renders as an image. The related %ICON{"name"}% generates the full HTML img tag. Specify image name or full filename (see ICON for details on filenames.)
  • Syntax: %ICONURL{"name"}%
  • Examples:
    • %ICONURL{"arrowbright"}% returns https://cswiki.betheluniversity.edu/pub/System/DocumentGraphics/arrowbright.png
    • %ICONURL{"novel.pdf"}% returns https://cswiki.betheluniversity.edu/pub/System/DocumentGraphics/pdf.png
    • %ICONURL{"/queen/boheme.mp3"}% returns https://cswiki.betheluniversity.edu/pub/System/DocumentGraphics/mp3.png
  • Category: FormattingAndRenderingVariables
  • Related: ICONURLPATH, ICON, DefaultPreferences, FileAttachments, TWikiDocGraphics
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarICONURL.

This website is using cookies. More info. That's Fine