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.

Notation Image Description
:) :-) :smile: smile smile
:( :-( :frown: frown, sad smile frown, sad smile
:D :-D :biggrin: big grin big grin
8-) :cool: cool cool
;) ;-) :wink: wink wink
;( ;-( :cry: cry cry
(:I :sweat: sweating sweating
:I :-I :speechless: indifferent, speechless indifferent, speechless
:* :-* :kiss: kiss kiss
:P :-P :p :-p :tongue: stick out tongue stick out tongue
:o :-o :blush: embarrassment, blush embarrassment, blush
:^) :wonder: wondering wondering
I-) :snooze: sleepy, snooze sleepy, snooze
I-( :dull: dull dull
:love: I love it! I love it!
]:) ]:-) >;-) :evilgrin: :devilish: evil grin evil grin
:talk: talking talking
I() I-() :yawn: yawn yawn
:& :-& :puke: puke puke
:doh: :eek: doh doh
:@ :-@ :angry: angry angry
:wasntme: oops, wasn oops, wasn't me
:party: party party
:S :-S :s :-s :confused: :worried: worried, confused worried, confused
:mmm: joy joy
8-I B-I :nerd: nerd nerd
:-X :lipssealed: my lips are sealed my lips are sealed
:hi: me waving me waving
:call: call me back call me back
>:-) :devil: evil evil
:angel: angel angel
:envy: envy envy
:wait: hey, wait a sec hey, wait a sec
:bear: bear, hug bear, hug
:hug: bear, hug bear, hug
:makeup: makeup, lips makeup, lips
:giggle: covered laugh covered laugh
:clap: clapping hands clapping hands
:? :-? :think: thinking thinking
:bow: bow bow
:rofl: rolling on the floor laughing rolling on the floor laughing
:wew: whew whew
:whew: whew whew
:happy: happy happy
:smirk: smirk smirk
:nod: nod nod
:shake: shake shake
:punch: punch punch
:emo: emo emo
:yes: :ok: yes yes
:no: no no
:handshake: handshake handshake
:heart: heart heart
:brokenheart: broken heart broken heart
:mail: mail mail
:flower: flower flower
:rain: rain rain
:sun: sun sun
:time: time time
:music: music music
:movie: movie, film movie, film
:phone: phone phone
:coffee: coffee coffee
:pizza: pizza pizza
:cash: cash cash
:muscle: muscle muscle
:cake: cake cake
:beer: beer beer
:drink: drink drink
:dance: dance dance
:ninja: ninja ninja
:star: star star
:morning: morning morning
:finger: finger finger
:bandit: bandit bandit
:drunk: drunk drunk
:smoke: smoke smoke
:toivo: tovio tovio
:rock: rock rock
:headbang: :mad: head bang, getting mad head bang, getting mad
:bug: bug bug
:foobar: foobar foobar
:poolparty: pool party pool party
:swear: swear swear
:tmi: tmi tmi
:heidy: heidy heidy
:malthe: malthe malthe
:tauri: :rolleyes: tauri tauri
:priidu: priidu priidu
:skull: dead, deadly, doom dead, deadly, doom

SmiliesPlugin Global Settings

You can override the default settings for the plugin by defining the following preferences.
Preference Meaning Default
SMILIESPLUGIN_TOPIC The name of the topic containing your Smilies. Use format web.topic. SmiliesPlugin
SMILIESPLUGIN_FORMAT 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").
<img
    class='smily'
    src='$url'
    alt='$tooltip'
    title='$tooltip'
     />
If possible, use single quotes for html attributes

Plugin Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Plugin Info

Change History:  
17 Sep 2015: (2.03) Foswikitask:Item13725: Remove height from css for better compatibilty.
Foswikitask:Item13726: Restore legacy icons to avoid broken links.
25 Jun 2015: (2.02) Foswikitask:Item13475: Restore skull markup. Released with Foswiki 2.0.
27 Feb 2014: modernized code and icon set
05 Oct 2012: use single quotes to enable use of smilies within Macros
05 Dec 2011: Version released with Foswiki 1.1.4. Minor code cleanup.
11 Apr 2011: Version released with Foswiki 1.1.3. Only a minor change related to how the plugin is being upgraded
04 Aug 2010: Foswikitask:Item9415 - Minor documentation updates
20 Sep 2009: Small documentation update. Included with Foswiki 1.0.7
13 Jan 2009: Removed default preferences from this topic
04 Jan 2009: Foswiki version - Fixed the use of SMILIESPLUGIN_TOPIC so you can create your own smily collection that does not get overwritten when upgrading Foswiki
21 Nov 2007: Doc improvements
16 Mar 2005: Fixed typo "scull"
5 Mar 2005: 1.004 Crawford Currie prepared for Dakar
21 Nov 2004: Added benchmarks (no code changes)
21 Aug 2004: Fixed tooltip for Netscape; added "sealed lips", "thumbs up", "yes" "no", "in love", "skull"
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
Dependencies: None


Related Topics: DefaultPreferences, SitePreferences, Plugins

PackageForm edit

Author ProjectContributor
Version 2.03
Release 17 Sep 2015
Repository https://github.com/foswiki/distro
Copyright Copyright (C) 2008-2014 Foswiki Contributors. Copyright (C) 2001-2007 Andrea Sterbini, Peter Thoeny, peter@thoeny.org and TWiki Contributors.
License GPL (GNU General Public License)
Home Foswiki:Extensions/SmiliesPlugin
Support Foswiki:Support/SmiliesPlugin
Topic attachments
I Attachment Action Size Date Who Comment
MakefileEXT Makefile manage 123 bytes 01 Oct 2015 - 16:38 MartinDiehl  
biggrin.gifgif biggrin.gif manage 152 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
confused.gifgif confused.gif manage 110 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
cool.gifgif cool.gif manage 124 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
devil.gifgif devil.gif manage 139 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
devilwink.gifgif devilwink.gif manage 141 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
eek.gifgif eek.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl Legacy
emoticon-0100-smile.gifgif emoticon-0100-smile.gif manage 806 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0101-sadsmile.gifgif emoticon-0101-sadsmile.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0102-bigsmile.gifgif emoticon-0102-bigsmile.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0103-cool.gifgif emoticon-0103-cool.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0105-wink.gifgif emoticon-0105-wink.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0106-crying.gifgif emoticon-0106-crying.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0107-sweating.gifgif emoticon-0107-sweating.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0108-speechless.gifgif emoticon-0108-speechless.gif manage 795 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0109-kiss.gifgif emoticon-0109-kiss.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0110-tongueout.gifgif emoticon-0110-tongueout.gif manage 1009 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0111-blush.gifgif emoticon-0111-blush.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0112-wondering.gifgif emoticon-0112-wondering.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0113-sleepy.gifgif emoticon-0113-sleepy.gif manage 834 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0114-dull.gifgif emoticon-0114-dull.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0115-inlove.gifgif emoticon-0115-inlove.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0116-evilgrin.gifgif emoticon-0116-evilgrin.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0117-talking.gifgif emoticon-0117-talking.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0118-yawn.gifgif emoticon-0118-yawn.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0119-puke.gifgif emoticon-0119-puke.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0120-doh.gifgif emoticon-0120-doh.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0121-angry.gifgif emoticon-0121-angry.gif manage 4 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0122-itwasntme.gifgif emoticon-0122-itwasntme.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0123-party.gifgif emoticon-0123-party.gif manage 3 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0124-worried.gifgif emoticon-0124-worried.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0125-mmm.gifgif emoticon-0125-mmm.gif manage 997 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0126-nerd.gifgif emoticon-0126-nerd.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0127-lipssealed.gifgif emoticon-0127-lipssealed.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0128-hi.gifgif emoticon-0128-hi.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0129-call.gifgif emoticon-0129-call.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0130-devil.gifgif emoticon-0130-devil.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0131-angel.gifgif emoticon-0131-angel.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0132-envy.gifgif emoticon-0132-envy.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0133-wait.gifgif emoticon-0133-wait.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0134-bear.gifgif emoticon-0134-bear.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0135-makeup.gifgif emoticon-0135-makeup.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0136-giggle.gifgif emoticon-0136-giggle.gif manage 1006 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0137-clapping.gifgif emoticon-0137-clapping.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0138-thinking.gifgif emoticon-0138-thinking.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0139-bow.gifgif emoticon-0139-bow.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0140-rofl.gifgif emoticon-0140-rofl.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0141-whew.gifgif emoticon-0141-whew.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0142-happy.gifgif emoticon-0142-happy.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0143-smirk.gifgif emoticon-0143-smirk.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0144-nod.gifgif emoticon-0144-nod.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0145-shake.gifgif emoticon-0145-shake.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0146-punch.gifgif emoticon-0146-punch.gif manage 4 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0147-emo.gifgif emoticon-0147-emo.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0148-yes.gifgif emoticon-0148-yes.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0149-no.gifgif emoticon-0149-no.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0150-handshake.gifgif emoticon-0150-handshake.gif manage 4 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0151-skype.gifgif emoticon-0151-skype.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0152-heart.gifgif emoticon-0152-heart.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0153-brokenheart.gifgif emoticon-0153-brokenheart.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0154-mail.gifgif emoticon-0154-mail.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0155-flower.gifgif emoticon-0155-flower.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0156-rain.gifgif emoticon-0156-rain.gif manage 619 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0157-sun.gifgif emoticon-0157-sun.gif manage 665 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0158-time.gifgif emoticon-0158-time.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0159-music.gifgif emoticon-0159-music.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0160-movie.gifgif emoticon-0160-movie.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0161-phone.gifgif emoticon-0161-phone.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0162-coffee.gifgif emoticon-0162-coffee.gif manage 687 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0163-pizza.gifgif emoticon-0163-pizza.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0164-cash.gifgif emoticon-0164-cash.gif manage 988 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0165-muscle.gifgif emoticon-0165-muscle.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0166-cake.gifgif emoticon-0166-cake.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0167-beer.gifgif emoticon-0167-beer.gif manage 3 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0168-drink.gifgif emoticon-0168-drink.gif manage 934 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0169-dance.gifgif emoticon-0169-dance.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0170-ninja.gifgif emoticon-0170-ninja.gif manage 1021 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0171-star.gifgif emoticon-0171-star.gif manage 557 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0172-mooning.gifgif emoticon-0172-mooning.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0173-middlefinger.gifgif emoticon-0173-middlefinger.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0174-bandit.gifgif emoticon-0174-bandit.gif manage 584 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0175-drunk.gifgif emoticon-0175-drunk.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0176-smoke.gifgif emoticon-0176-smoke.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0177-toivo.gifgif emoticon-0177-toivo.gif manage 3 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0178-rock.gifgif emoticon-0178-rock.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0179-headbang.gifgif emoticon-0179-headbang.gif manage 3 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0180-bug.gifgif emoticon-0180-bug.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0181-fubar.gifgif emoticon-0181-fubar.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0182-poolparty.gifgif emoticon-0182-poolparty.gif manage 434 bytes 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0183-swear.gifgif emoticon-0183-swear.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0184-tmi.gifgif emoticon-0184-tmi.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0185-heidy.gifgif emoticon-0185-heidy.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0187-malthe.gifgif emoticon-0187-malthe.gif manage 4 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0188-tauri.gifgif emoticon-0188-tauri.gif manage 2 K 01 Oct 2015 - 16:38 MartinDiehl  
emoticon-0189-priidu.gifgif emoticon-0189-priidu.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl  
frown.gifgif frown.gif manage 94 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
indifferent.gifgif indifferent.gif manage 132 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
love.gifgif love.gif manage 379 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
mad.gifgif mad.gif manage 154 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
no.gifgif no.gif manage 468 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
redface.gifgif redface.gif manage 136 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
rolleyes.gifgif rolleyes.gif manage 1 K 01 Oct 2015 - 16:38 MartinDiehl Legacy
sealed.gifgif sealed.gif manage 142 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
skull.gifgif skull.gif manage 1006 bytes 01 Oct 2015 - 16:38 MartinDiehl  
smile.gifgif smile.gif manage 93 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
smilies.csscss smilies.css manage 50 bytes 01 Oct 2015 - 16:38 MartinDiehl  
smilies.css.gzgz smilies.css.gz manage 70 bytes 01 Oct 2015 - 16:38 MartinDiehl  
smilies.uncompressed.csscss smilies.uncompressed.css manage 63 bytes 01 Oct 2015 - 16:38 MartinDiehl  
thumbs.gifgif thumbs.gif manage 166 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
tongue.gifgif tongue.gif manage 338 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
wink.gifgif wink.gif manage 135 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
yes.gifgif yes.gif manage 262 bytes 01 Oct 2015 - 16:38 MartinDiehl Legacy
Topic revision: r4 - 02 Jun 2016, MartinDiehl
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding DAMASK? Send feedback