Difference: VarICON ( vs. 1)

Revision 12005-03-27 - TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiVariables"

ICON{"name"} -- small documentation graphic or icon of common attachment types

  • Generates the HTML img tag of a small graphic image attached to TWikiDocGraphics. Images typically have a 16x16 pixel size. You can select a specific image by name, or you can give a full filename, in which case the type of the file will be used to select one of a collection of common file type icons.
  • Syntax: %ICON{"name"}%
  • Examples:
    • %ICON{"flag-gray"}% returns Flag-gray
    • %ICON{"pdf"}% returns Pdf
    • %ICON{"smile.pdf"}% returns Pdf
    • %ICON{"/dont/you/dare/smile.pdf"}% returns Pdf
    • %ICON{"http://twiki.org/doc/xhtml.xsl"}% returns Xsl
  • Graphic samples: Arrowbright arrowbright, Bubble bubble, Choice-yes choice-yes, Hand hand
  • File type samples: Bmp bmp, Doc doc, Gif gif, Hlp hlp, Html html, Mp3 mp3, Pdf pdf, Ppt ppt, Txt txt, Xls xls, Xml xml, Zip zip
  • Related: ICONURL, ICONURLPATH, TWikiPreferences, FileAttachments, TWikiDocGraphics
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarICON