UHH>Informatik>NatS>System Web>Macros>VarICONURL (20 Mar 2010, ProjectContributor) Print version

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 https://nats-www.informatik.uni-hamburg.de/pub/System/DocumentGraphics/arrowbright.png
    • %ICONURL{"novel.pdf"}% returns https://nats-www.informatik.uni-hamburg.de/pub/System/DocumentGraphics/pdf.png
    • %ICONURL{"/queen/boheme.mp3"}% returns https://nats-www.informatik.uni-hamburg.de/pub/System/DocumentGraphics/mp3.png
  • Related: ICONURLPATH, ICON, DefaultPreferences, FileAttachments, DocumentGraphics

-- TimoBaumann - 12 Oct 2015

 
Copyright � by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback