Other usage: see below.%ICON{help}%results in:Note that
ICON{}assumes a GIF image of 16 x 16 pixels. Use a HTMLimgtag with%ICONURL{}%for image with other sizes. See the tables below for copy-paste examples.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
%ICON{pdf}% to show the
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
In Main.TWikiPreferences set a variable to an ICON, for example:Full path:* Set H = %ICON{help}%Now you can use the icon by writing%H%For extended use, check out TWiki:Plugins.SmiliesPlugin that uses a different short hand than%VARIABLES%.
In any topic, writeTo create an image with a link, write:%PUBURL%/%SYSTEMWEB%/TWikiDocGraphics/help.gifto showYou are not restricted to use the TWikiDocGraphics topic - in a similar way you can show attached images by replacing
TWikiDocGraphicswith the topic name.
To get the full URL of the icon, use ICONURL:[[WebHome][%ICON{home}% Home]]to get:Home To get rid of the underline under the space, write:
[[WebHome][%ICON{home}%]] [[WebHome][Home]]to get:Home
Related Topics: TWikiSkins, DeveloperDocumentationCategory, AdminDocumentationCategory Contributors: Most icons on this page were originally designed by TWiki:Main.PeterThoeny. Many icons were recreated by TWiki:Main.ArthurClemens.%ICONURL{"toggleopen"}%gets you the image path:http://www.subject.ch/twiki/subject/pub/TWiki/TWikiDocGraphics/toggleopen.gif
and that will get rendered as:![]()