You are here: CTSPedia>System Web>Macros>VarICONURL (09 Jan 2009, ProjectContributor?)EditAttach
Tags:
create new tag
, view all tags, tagging instructions

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://www.ctspedia.org/wiki/pub/System/DocumentGraphics/arrowbright.gif
    • %ICONURL{"novel.pdf"}% returns https://www.ctspedia.org/wiki/pub/System/DocumentGraphics/pdf.gif
    • %ICONURL{"/queen/boheme.mp3"}% returns https://www.ctspedia.org/wiki/pub/System/DocumentGraphics/mp3.gif
  • Related: ICONURLPATH, ICON, DefaultPreferences, FileAttachments, DocumentGraphics
Topic revision: r1 - 09 Jan 2009 - 06:00:00 - ProjectContributor?
 
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 CTSPedia? Send feedback