Log In | Users | Register
Welcome, Registration, and other StartingPoints; Foswiki history & Wiki style; All the docs...
spacer
Edit | Attach | New | Raw | Delete | History | Diff | Print | Pdf | Subscribe | Tools
You are here: System » Macros » VarICONURL

ICONURL{"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://iactwiki.ethz.ch/pub/System/DocumentGraphics/arrowbright.gif
    • %ICONURL{"novel.pdf"}% returns https://iactwiki.ethz.ch/pub/System/DocumentGraphics/pdf.gif
    • %ICONURL{"/queen/boheme.mp3"}% returns https://iactwiki.ethz.ch/pub/System/DocumentGraphics/mp3.gif
  • Related: ICONURLPATH, ICON, DefaultPreferences, FileAttachments, DocumentGraphics
spacer
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback
Syndicate this site RSS ATOM