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{"pdf"}%
returns
-
%ICON{"smile.pdf"}%
returns
-
%ICON{"/dont/you/dare/smile.pdf"}%
returns
-
%ICON{"http://twiki.org/doc/xhtml.xsl"}%
returns
- Graphic samples:
arrowbright
,
bubble
,
choice-yes
,
hand
- File type samples:
bmp
,
doc
,
gif
,
hlp
,
html
,
mp3
,
pdf
,
ppt
,
txt
,
xls
,
xml
,
zip
- Related: ICONURL, ICONURLPATH, TWikiPreferences, FileAttachments, TWikiDocGraphics
This topic: TWiki
> WebHome >
TWikiVariables > VarICON
Topic revision: r1 - 2005-03-27 - TWikiContributor