data/TWiki/VarICON.txt,v
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
colas@0
     1
head	1.2;
colas@0
     2
access;
colas@0
     3
symbols;
colas@0
     4
locks; strict;
colas@0
     5
comment	@# @;
colas@0
     6
colas@0
     7
colas@0
     8
1.2
colas@0
     9
date	2008.01.22.03.21.32;	author TWikiContributor;	state Exp;
colas@0
    10
branches;
colas@0
    11
next	1.1;
colas@0
    12
colas@0
    13
1.1
colas@0
    14
date	2006.06.25.16.26.28;	author TWikiContributor;	state Exp;
colas@0
    15
branches;
colas@0
    16
next	;
colas@0
    17
colas@0
    18
colas@0
    19
desc
colas@0
    20
@buildrelease
colas@0
    21
@
colas@0
    22
colas@0
    23
colas@0
    24
1.2
colas@0
    25
log
colas@0
    26
@buildrelease
colas@0
    27
@
colas@0
    28
text
colas@0
    29
@%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.1" version="2"}%
colas@0
    30
%META:TOPICPARENT{name="TWikiVariables"}%
colas@0
    31
#VarICON
colas@0
    32
---+++ ICON{"name"} -- small documentation graphic or icon of common attachment types
colas@0
    33
   * 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.
colas@0
    34
   * Syntax: =%<nop>ICON{"name"}%=
colas@0
    35
   * Examples:
colas@0
    36
      * =%<nop>ICON{"flag-gray"}%= returns %ICON{"flag-gray"}%
colas@0
    37
      * =%<nop>ICON{"pdf"}%= returns %ICON{"pdf"}%
colas@0
    38
      * =%<nop>ICON{"smile.pdf"}%= returns %ICON{"smile.pdf"}%
colas@0
    39
      * =%<nop>ICON{"/dont/you/dare/smile.pdf"}%= returns %ICON{"/dont/you/dare/smile.pdf"}%
colas@0
    40
      * =%<nop>ICON{"http://twiki.org/doc/xhtml.xsl"}%= returns %ICON{"http://twiki.org/doc/xhtml.xsl"}%
colas@0
    41
   * Graphic samples: %ICON{"arrowbright"}% =arrowbright=, %ICON{"bubble"}% =bubble=, %ICON{"choice-yes"}% =choice-yes=, %ICON{"hand"}% =hand=
colas@0
    42
   * 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=
colas@0
    43
   * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarICONURL][ICONURL]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarICONURLPATH][ICONURLPATH]], %WIKIPREFSTOPIC%, FileAttachments, TWikiDocGraphics
colas@0
    44
colas@0
    45
@
colas@0
    46
colas@0
    47
colas@0
    48
1.1
colas@0
    49
log
colas@0
    50
@buildrelease
colas@0
    51
@
colas@0
    52
text
colas@0
    53
@d1 1
colas@0
    54
a1 1
colas@0
    55
%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
colas@0
    56
a3 1
colas@0
    57
colas@0
    58
d15 1
colas@0
    59
a15 1
colas@0
    60
   * Related: [[#VarICONURL][ICONURL]], [[#VarICONURLPATH][ICONURLPATH]], %WIKIPREFSTOPIC%, FileAttachments, TWikiDocGraphics
colas@0
    61
@