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, Bubble bubble, Choice-yes choice-yes, 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







 
  • Suche in Topic-Namen

  • Suche in Topic-Inhalten
This site is powered by the TWiki collaboration platform Powered by Perl