Need help?

Contact SCC

Email scicomp
Join #scicomp on Slack

Help us help you

Follow these guidelines when submitting a help request.

ICONURL -- URL of small documentation graphic or icon

18 Dec 2024 - 14:20 | Version 1 |
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.)

Parameters

Parameter Description Default
"name" Name of the icon, or pathname to extract an extension from else
default Optional default icon if the primary icon can't be found else

Examples

  • %ICONURL% returns https://wiki.flatironinstitute.org/pub/System/DocumentGraphics/else.png
  • %ICONURL{"arrowbright"}% returns https://wiki.flatironinstitute.org/pub/System/DocumentGraphics/arrowbright.png
  • %ICONURL{"novel.pdf"}% returns https://wiki.flatironinstitute.org/pub/System/DocumentGraphics/pdf.png
  • %ICONURL{"notanicon" default="ram"}% returns https://wiki.flatironinstitute.org/pub/System/DocumentGraphics/ram.png
  • %ICONURL{"/queen/boheme.mp3"}% returns https://wiki.flatironinstitute.org/pub/System/DocumentGraphics/mp3.png

ICON, ICONURLPATH, DocumentGraphics
Copyright © Simons Foundation. All material on this collaboration platform is the property of the Simons Foundation.
This website is using cookies. More info. That's Fine