default parameter will be used (and if that fails, the else icon will be used)
| Parameter | Description | Default |
|---|---|---|
"filename or icon name" |
requested icon | else |
default |
default icon to use if requested icon is not found | |
alt |
alt text to be added to the HTML img tag | |
quote |
allows you to control the quote used in the generated HTML | " |
%ICON{"flag-gray"}% displays as %ICON{"pdf"}% displays as %ICON{"docx" default="doc"}% displays as %ICON{"smile.pdf"}% displays as %ICON{"/dont/you/dare/smile.pdf"}% returns %ICON{"data.unknown" alt="Unknown file type"}% displays as %ICON{"data.unknown"}% displays as %ICON{"http://trunk.foswiki.org/pub/System/DocumentGraphics/xsl.gif"}% displays arrowbright, bubble, choice-yes, hand
bmp, doc, gif, hlp, html, mp3, pdf, ppt, txt, xls, xml, zip
quote parameter. For example %ICON{"pdf" quote="'"}%
$quot and $dollar in quote.