Smilies are common in e-mail messages and bulletin board posts. They are used to convey an emotion, such as a smile :-) or a frown :-( . This plugin automatically converts certain smilies to a nice small icon.
Here is the list of smilies supported by this plugin. To add others, attach new icons to this topic and tweak the table below.
| Ви вводите | Ви бачите | Емоц╕я |
| :-) | | "посм╕шка" |
| :) | | "посм╕шка" |
| :cool: | | "круто!" |
| :( | | "ображений" |
| :-( | | "ображений" |
| :o | | "embarrassment" |
| :D | | "велика посм╕шка" |
| ;) | | "п╕дморгу╓" |
| ;-) | | "п╕дморгу╓" |
| :p | | "razz (показу╓ язик)" |
| :rolleyes: | | "roll eyes (саркастичний)" |
| :mad: | | "злий!" |
| :eek: | | "гик!" |
| :confused: | | "збитий з пантелику" |
| :lou: | | "Linux.org.ua" |
| :pioner: | | "П╕онер - значить перший!" |
| :admin: | | "Адм╕н╕стратор" |
| :linuxoid: | | "Звичайний л╕нуксо╖д" |
| :star: | | "З╕рка" |
| :r-star: | | "Червона з╕рка" |
| :y-star: | | "Жовта з╕рка" |
| :g-star: | | "Зелена з╕рка" |
| :uk: | | "укра╖нська мова" |
| :by: | | "б╕лоруська мова" |
| :ru: | | "рос╕йська мова" |
| :en: | | "англ╕йська мова" |
Plugin settings are stored as preferences variables. To reference
a plugin setting write %<plugin>_<setting>%, for example, %INTERWIKIPLUGIN_SHORTDESCRIPTION%
- One line description, shown in the Text Formatting Rules topic:
- Set SHORTDESCRIPTION = Render smilies as icons, like
:-) for or :cool: for
- Set DEBUG to 1 to get debug messages in
data/debug.txt. Default: 0
- The name of the topic containig your Smilies. Default:
TWiki.SmiliesPlugin
- The way the emoticon is displayed. You can use
$emoticon (e.g. :D), $url (e.g. %ATTACHURL%/biggrin.gif) and $tooltip (e.g. "big grin"). Default: <img src="$url" alt="$tooltip" />
* #Set FORMAT = <img src="$url" alt="$emoticon" />
- Download the ZIP file from the Plugin web (see below)
- Unzip
SmiliesPlugin.zip in your twiki installation directory. Content:
| File: | Description: |
data/TWiki/SmiliesPlugin.txt | Plugin topic |
data/TWiki/SmiliesPlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/SmiliesPlugin.pm | Plugin Perl module |
pub/TWiki/SmiliesPlugin/*.gif | Plugin icon files |
- Test if the plugin is correctly installed:
- You will see a series of icons on next line:
Related Topics: TWiki Preferences, TWiki Plugins
-- Andrea Sterbini - 28 Dec 2000
-- Peter Thoeny - 20 Apr 2002
-- Volodymyr Lisivka - 02-кв╕-2003
|