release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Search | Go
Wiki > System > Macros > VarICONURL

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.rockbox.org/wiki/pub/System/DocumentGraphics/arrowbright.png
    • %ICONURL{"novel.pdf"}% returns http://www.rockbox.org/wiki/pub/System/DocumentGraphics/pdf.png
    • %ICONURL{"/queen/boheme.mp3"}% returns http://www.rockbox.org/wiki/pub/System/DocumentGraphics/mp3.png
  • Related: ICONURLPATH, ICON, DefaultPreferences, FileAttachments, DocumentGraphics
r1 - 20 Mar 2010 - 07:12:11 - ProjectContributor

Parents: WebHome > Macros
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