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 |
>;-) |
|
"hehe! (friendly)" |
>:-) |
|
"hehe!" |
;-) |
|
"wink" |
;) |
|
"wink" |
:yes: |
|
"yes" |
:skull: |
|
"skull" |
:rolleyes: |
|
"roll eyes (sarcastic)" |
:p |
|
"stick out tongue" |
:ok: |
|
"thumbs up" |
:o |
|
"embarrassment" |
:no: |
|
"no" |
:mad: |
|
"mad!" |
:love: |
|
"in love" |
:eek: |
|
"eek!" |
:devilish: |
|
"hehe! (friendly)" |
:devil: |
|
"hehe!" |
:D |
|
"big grin" |
:cool: |
|
"cool!" |
:confused: |
|
"confused" |
:-X |
|
"sealed lips" |
:-p |
|
"stick out tongue" |
:-I |
|
"indifferent" |
:-D |
|
"big grin" |
:-) |
|
"smile" |
:-( |
|
"frown" |
:) |
|
"smile" |
:( |
|
"frown" |
8-) |
|
"cool!" |
SmiliesPlugin Global Settings
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 TextFormattingRules topic:
- Set SHORTDESCRIPTION = Render smilies as icons, like for
:-)
or for :eek:
- The name of the topic containig your Smilies. Default:
TWiki.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" title="$tooltip" border="0" />
* #Set FORMAT = <img src="$url" alt="$emoticon" title="$emoticon" border="0" />
Plugin Installation Instructions
This plugin is installed by default with a TWiki release. You should not need to install the plugin unless it is for an upgrade.
- 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 |
- (Dakar) Visit
configure
in your TWiki installation, and enable the plugin in the {Plugins} section.
- Test if the plugin is correctly installed:
- You will see a series of icons on next line:
Plugin Info
Related Topics: TWikiPreferences,
TWikiPlugins