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://wiki.hepg.sdu.edu.cn/foswiki/pub/System/DocumentGraphics/arrowbright.png
    • %ICONURL{"novel.pdf"}% returns https://wiki.hepg.sdu.edu.cn/foswiki/pub/System/DocumentGraphics/pdf.png
    • %ICONURL{"/queen/boheme.mp3"}% returns https://wiki.hepg.sdu.edu.cn/foswiki/pub/System/DocumentGraphics/mp3.png
  • Related: ICONURLPATH, ICON, DefaultPreferences, FileAttachments, DocumentGraphics
主题版本: r1 - 2010-03-20, ProjectContributor
 
This site is powered by Foswiki版权所有 © 所有作者。本合作平台的所有资料归内容提贡者所有。
回馈有关 HEPG 的建议、需求及问题。