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

  • Generates the full URL of a DocumentGraphics image, which Foswiki 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 http://www.mi.fu-berlin.de/wiki/pub/System/DocumentGraphics/arrowbright.png
    • %ICONURL{"novel.pdf"}% returns http://www.mi.fu-berlin.de/wiki/pub/System/DocumentGraphics/pdf.png
    • %ICONURL{"/queen/boheme.mp3"}% returns http://www.mi.fu-berlin.de/wiki/pub/System/DocumentGraphics/mp3.png
  • Related: ICONURLPATH, ICON, DefaultPreferences, FileAttachments, DocumentGraphics
Topic revision: r1 - 20 Mar 2010, ProjectContributor
 
  • Printable version of this topic (p) Printable version of this topic (p)