# The Smilies Plugin :-) 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.
You type | You see | Emotion |
---|---|---|
:-) | "smile" | |
:) | "smile" | |
8-) | "cool!" | |
:cool: | "cool!" | |
:-I | "indifferent" | |
:( | "frown" | |
:-( | "frown" | |
:o | "embarrassment" | |
:D | "big grin" | |
:-D | "big grin" | |
;) | "wink" | |
;-) | "wink" | |
:p | "razz (stick out tongue)" | |
:rolleyes: | "roll eyes (sarcastic)" | |
:mad: | "mad!" | |
:eek: | "eek!" | |
:confused: | "confused" | |
>:-) | "hehe!" | |
:devil: | "hehe!" | |
>;-) | "hehe! (friendly)" | |
:devilish: | "hehe! (friendly)" |
**%<plugin>\_<setting>%**
, for example, **%INTERWIKIPLUGIN\_SHORTDESCRIPTION%**
- One line description, shown in the [[TextFormattingRules]] topic:
- Set SHORTDESCRIPTION = Render smilies as icons, like ` :-)` for :-) or ` :cool:` for :cool:
- Set DEBUG to 1 to get debug messages in `data/debug.txt`. Default: `0`
- Set DEBUG = 0
- The name of the topic containig your Smilies. Default: **%WEB%.SmiliesPlugin**
- #Set TOPIC = [[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 =
## Plugin Installation Instructions
- Download the ZIP file from the Plugin web (see below)
- Unzip **%TOPIC%.zip**
in your twiki installation directory. Content: File: | Description: |
---|---|
data/TWiki/%TOPIC%.txt |
Plugin topic |
data/TWiki/%TOPIC%.txt,v |
Plugin topic repository |
lib/TWiki/Plugins/%TOPIC%.pm |
Plugin Perl module |
pub/TWiki/%TOPIC%/*.gif |
Plugin icon files |
Plugin Author: | TWiki:Main.AndreaSterbini |
Plugin Version: | 16 Feb 2004 (v1.002) |
Change History: | |
16 Feb 2004: | Added "devil" and "devilwink" smilies (by TWiki:Main.CrawfordCurrie) |
26 Feb 2003: | Added "indifferent" smilie |
20 Oct 2002: | Fixed STDERR warning for non-initialized Plugin |
20 Apr 2002: | Improved performance; removed non-standard Plugin API dependencies; added standard plugin topic content -- TWiki:Main.PeterThoeny |
23 Nov 2001: | Added TOPIC and FORMAT setting |
10 Jun 2001: | Packaged into ZIP |
28 Feb 2001: | Initial version |
CPAN Dependencies: | none |
Other Dependencies: | none |
Perl Version: | 5.0 |
Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC% |
Feedback: | http://TWiki.org/cgi-bin/view/Plugins/%TOPIC%Dev |