Changeset 5815 for trunk/core/data/System/VarICON.txt
- Timestamp:
- 12/18/09 09:03:17 (2 years ago)
- File:
-
- 1 edited
-
trunk/core/data/System/VarICON.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/data/System/VarICON.txt
r5812 r5815 3 3 #VarICON 4 4 ---+++ ICON{"name" alt=""} -- small documentation graphic or icon of common attachment types 5 * Generates the HTML img tag of a small graphic image attached to DocumentGraphics. 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. 6 * Syntax: =%<nop>ICON{"name"}%= 5 * Generates a small graphic image from the set attached to DocumentGraphics. 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. 6 * Syntax: =%<nop>ICON{"name" alt="name"}%= 7 * You can use the optional =alt= parameter to specify an alternate 8 image, in case the filename doesn't produce a recognised graphic 9 If you don't specify an =alt=, and a filename doesn't map to a known 10 image, you will just see the filename. 7 11 * Examples: 8 * =%<nop>ICON{"flag-gray"}%= returns %ICON{"flag-gray"}%9 * =%<nop>ICON{"pdf"}%= returns %ICON{"pdf"}%10 * =%<nop>ICON{"smile.pdf"}%= returns %ICON{"smile.pdf"}%12 * =%<nop>ICON{"flag-gray"}%= displays as %ICON{"flag-gray"}% 13 * =%<nop>ICON{"pdf"}%= displays as %ICON{"pdf"}% 14 * =%<nop>ICON{"smile.pdf"}%= displays as %ICON{"smile.pdf"}% 11 15 * =%<nop>ICON{"/dont/you/dare/smile.pdf"}%= returns %ICON{"/dont/you/dare/smile.pdf"}% 12 * =%<nop>ICON{" http://trunk.foswiki.org/pub/System/DocumentGraphics/xsl.gif"}%= returns %ICON{"http://trunk.foswiki.org/pub/System/DocumentGraphics/xsl.gif"}%13 * You can use the =alt= parameter to specify an alternate image, in case14 the filename doesn't produce a recognised graphic e.g. ==%<nop>ICON{"data.docx" alt="doc"}%16 * =%<nop>ICON{"data.unknown" alt="doc"}%= displays as %ICON{"data.unknown" alt="doc"}% 17 * =%<nop>ICON{"data.unknown"}%= displays as %ICON{"data.unknown"}% 18 * =%<nop>ICON{"http://trunk.foswiki.org/pub/System/DocumentGraphics/xsl.gif"}%= displays %ICON{"http://trunk.foswiki.org/pub/System/DocumentGraphics/xsl.gif"}% 15 19 * Graphic samples: %ICON{"arrowbright"}% =arrowbright=, %ICON{"bubble"}% =bubble=, %ICON{"choice-yes"}% =choice-yes=, %ICON{"hand"}% =hand= 16 20 * 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=
Note: See TracChangeset
for help on using the changeset viewer.
