head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2006.06.25.16.26.28; author TWikiContributor; state Exp; branches; next ; desc @buildrelease @ 1.1 log @buildrelease @ text @%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}% %META:TOPICPARENT{name="TWikiVariables"}% #VarICON ---+++ 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 %ICON{"flag-gray"}% * =%ICON{"pdf"}%= returns %ICON{"pdf"}% * =%ICON{"smile.pdf"}%= returns %ICON{"smile.pdf"}% * =%ICON{"/dont/you/dare/smile.pdf"}%= returns %ICON{"/dont/you/dare/smile.pdf"}% * =%ICON{"http://twiki.org/doc/xhtml.xsl"}%= returns %ICON{"http://twiki.org/doc/xhtml.xsl"}% * Graphic samples: %ICON{"arrowbright"}% =arrowbright=, %ICON{"bubble"}% =bubble=, %ICON{"choice-yes"}% =choice-yes=, %ICON{"hand"}% =hand= * File type samples: %ICON{"bmp"}% =bmp=, %ICON{"doc"}% =doc=, %ICON{"gif"}% =gif=, %ICON{"hlp"}% =hlp=, %ICON{"html"}% =html=, %ICON{"mp3"}% =mp3=, %ICON{"pdf"}% =pdf=, %ICON{"ppt"}% =ppt=, %ICON{"txt"}% =txt=, %ICON{"xls"}% =xls=, %ICON{"xml"}% =xml=, %ICON{"zip"}% =zip= * Related: [[#VarICONURL][ICONURL]], [[#VarICONURLPATH][ICONURLPATH]], %WIKIPREFSTOPIC%, FileAttachments, TWikiDocGraphics @