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