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 |
|
"stick out tongue" |
| :-p |
|
"stick out tongue" |
| :rolleyes: |
|
"roll eyes (sarcastic)" |
| :mad: |
|
"mad!" |
| :eek: |
|
"eek!" |
| :confused: |
|
"confused" |
| >:-) |
|
"hehe!" |
| :devil: |
|
"hehe!" |
| >;-) |
|
"hehe! (friendly)" |
| :devilish: |
|
"hehe! (friendly)" |
| :-X |
|
"sealed lips" |
| :ok: |
|
"thumbs up" |
| :yes: |
|
"yes" |
| :no: |
|
"no" |
| :love: |
|
"I love it!" |
| :skull: |
|
"dead!" |
Hijacked for other uses:
See
SmiliesPluginIcons for details. Haven't figured out a way to simply
%INCLUDE from there --
DickFurnas - 2009-06-24
File Types:
| You type |
You see |
Suggested Use |
| :abs: |
|
"abs file" |
| :aif: |
|
"aif file" |
| :aiff: |
|
"aiff file" |
| :arc: |
|
"arc file" |
| :arj: |
|
"arj file" |
| :as: |
|
"as file" |
| :au: |
|
"au file" |
| :avi: |
|
"avi file" |
| :b64: |
|
"b64 file" |
| :bat: |
|
"bat file" |
| :bhx: |
|
"bhx file" |
| :bmp: |
|
"bmp file" |
| :c: |
|
"c file" |
| :cab: |
|
"cab file" |
| :class: |
|
"class file" |
| :cmd: |
|
"cmd file" |
| :cpp: |
|
"cpp file" |
| :dll: |
|
"dll file" |
| :doc: |
|
"doc file" |
| :else: |
|
"else file" |
| :eml: |
|
"eml file" |
| :email: |
|
"email file" |
| :exe: |
|
"exe file" |
| :fla: |
|
"fla file" |
| :fon: |
|
"fon file" |
| :gif: |
|
"gif file" |
| :h: |
|
"h file" |
| :hlp: |
|
"hlp file" |
| :hqx: |
|
"hqx file" |
| :htm: |
|
"htm file" |
| :html: |
|
"html file" |
| :ico: |
|
"ico file" |
| :inf: |
|
"inf file" |
| :ini: |
|
"ini file" |
| :java: |
|
"java file" |
| :jfif: |
|
"jfif file" |
| :jpe: |
|
"jpe file" |
| :jpeg: |
|
"jpeg file" |
| :jpg: |
|
"jpg file" |
| :js: |
|
"js file" |
| :jse: |
|
"jse file" |
| :lzh: |
|
"lzh file" |
| :m1v: |
|
"m1v file" |
| :mid: |
|
"mid file" |
| :mim: |
|
"mim file" |
| :mail: |
|
"mail file" |
| :mda: |
|
"mda file" |
| :mdb: |
|
"mdb file" |
| :mde: |
|
"mde file" |
| :mov: |
|
"mov file" |
| :mp2: |
|
"mp2 file" |
| :mp3: |
|
"mp3 file" |
| :mp4: |
|
"mp4 file" |
| :mpa: |
|
"mpa file" |
| :mpe: |
|
"mpe file" |
| :mpeg: |
|
"mpeg file" |
| :mpega: |
|
"mpega file" |
| :mpegv: |
|
"mpegv file" |
| :mpg: |
|
"mpg file" |
| :mpv: |
|
"mpv file" |
| :mpv2: |
|
"mpv2 file" |
| :pcx: |
|
"pcx file" |
| :pdf: |
|
"pdf file" |
| :perl: |
|
"perl file" |
| :pfm: |
|
"pfm file" |
| :pl: |
|
"pl file" |
| :pm: |
|
"pm file" |
| :png: |
|
"png file" |
| :pot: |
|
"pot file" |
| :ppa: |
|
"ppa file" |
| :pps: |
|
"pps file" |
| :ppt: |
|
"ppt file" |
| :proj: |
|
"proj file" |
| :ps: |
|
"ps file" |
| :pwz: |
|
"pwz file" |
| :py: |
|
"py file" |
| :ra: |
|
"ra file" |
| :ram: |
|
"ram file" |
| :reg: |
|
"reg file" |
| :rm: |
|
"rm file" |
| :rmi: |
|
"rmi file" |
| :rtf: |
|
"rtf file" |
| :sh: |
|
"sh file" |
| :shared: |
|
"shared file" |
| :shtml: |
|
"shtml file" |
| :sniff: |
|
"sniff file" |
| :tar: |
|
"tar file" |
| :taz: |
|
"taz file" |
| :text: |
|
"text file" |
| :tgz: |
|
"tgz file" |
| :tif: |
|
"tif file" |
| :tiff: |
|
"tiff file" |
| :ttf: |
|
"ttf file" |
| :txt: |
|
"txt file" |
| :tz: |
|
"tz file" |
| :vbs: |
|
"vbs file" |
| :wav: |
|
"wav file" |
| :wri: |
|
"wri file" |
| :xbm: |
|
"xbm file" |
| :xla: |
|
"xla file" |
| :xlb: |
|
"xlb file" |
| :xlc: |
|
"xlc file" |
| :xld: |
|
"xld file" |
| :xlk: |
|
"xlk file" |
| :xll: |
|
"xll file" |
| :xlm: |
|
"xlm file" |
| :xls: |
|
"xls file" |
| :xlt: |
|
"xlt file" |
| :xlw: |
|
"xlw file" |
| :xml: |
|
"xml file" |
| :xsl: |
|
"xsl file" |
| :z: |
|
"z file" |
| :zip: |
|
"zip file" |
| :tally: |
113 |
total |
Document icons
| You type |
You see |
Suggested use |
| :book: |
|
"Book" |
| :bubble: |
|
"Speech bubble" |
| :days: |
|
"Days, Calendar" |
| :download: |
|
"Download" |
| :filter: |
|
"Filter" |
| :gear: |
|
"Gear" |
| :globe: |
|
"Globe" |
| :hand: |
|
"Pointing hand" |
| :help: |
|
"Help" |
| :info: |
|
"Info" |
| :hourglass: |
|
"Hour glass (clock)" |
| :more: |
|
"Read more" |
| :more-small: |
|
"Read more, 13x13" |
| :move: |
|
"Move" |
| :note: |
|
"Note" |
| :parked: |
|
"Parked" |
| :pencil: |
|
"Pencil / Refactor / Edit" |
| :puzzle: |
|
"Puzzle" |
| :question: |
|
"Question" |
| :rfc: |
|
"Request for comments" |
| :sort: |
|
"Sort" |
| :stargold: |
|
"Gold star, favorites" |
| :starred: |
|
"Red star, highlight" |
| :stop: |
|
"Stop" |
| :target: |
|
"Target" |
| :tip: |
|
"Tip, idea" |
| :warning: |
|
"Warning, important" |
| :watch: |
|
"Watch" |
| :wip: |
|
"Work in progress, under construction" |
| :wrench: |
|
"Wrench, tools" |
| :tally: |
30 |
total |
Topic,
file,
folder icons
| You type |
You see |
Suggested use |
| :viewtopic: |
|
"View topic" |
| :printtopic: |
|
"Print topic" |
| :refreshtopic: |
|
"Refresh topic" |
| :newtopic: |
|
"New topic" |
| :edittopic: |
|
"Edit topic" |
| :save: |
|
"Save" |
| :attachfile: |
|
"Attach file" |
| :download: |
|
"Download" |
| :trash: |
|
"Trash" |
| :searchtopic: |
|
"Search topic" |
| :search-small: |
|
"Small search button, 13x13" |
| :topicbacklinks: |
|
"Topic back-links" |
| :topicdiffs: |
|
"Topic difference" |
| :statistics: |
|
"Statistics" |
| :index: |
|
"Index" |
| :indexlist: |
|
"Index list" |
| :cachetopic: |
|
"Cache topic" |
| :folder: |
|
"Folder" |
| :tally: |
18 |
total |
Person,
group,
access icons
| You type |
You see |
Suggested use |
| :person: |
|
"Person" |
| :persons: |
|
"Persons" |
| :group: |
|
"Group" |
| :building: |
|
"Building" |
| :buildings: |
|
"Buildings" |
| :logout: |
|
"Log out" |
| :key: |
|
"Key" |
| :lock: |
|
"Lock" |
| :locktopic: |
|
"Locked topic" |
| :locktopicgray: |
|
"Locked topic, gray" |
| :lockfolder: |
|
"Locked folder" |
| :lockfoldergray: |
|
"Locked folder, gray" |
| :tally: |
12 |
total |
Changes,
notification icons
| You type |
You see |
Suggested use |
| :changes: |
|
"Changes" |
| :changes-small: |
|
"Changes (small), 13x13" |
| :recentchanges: |
|
"Recent changes" |
| :mail: |
|
"Mail" |
| :notify: |
|
"Notify" |
| :rss-feed: |
|
"RSS feed, 36x14" |
| :rss-small: |
|
"RSS feed" |
| :xml-feed: |
|
"XML feed, 36x14" |
| :xml-small: |
|
"XML feed" |
| :tally: |
9 |
total |
Status,
flag,
LED,
tag icons
| You type |
You see |
Suggested use |
| :new: |
|
"NEW, 30x16" |
| :todo: |
|
"TODO, 37x16" |
| :updated: |
|
"UPDATED, 55x16" |
| :done: |
|
"DONE, 37x16" |
| :closed: |
|
"CLOSED, 48x16" |
| :minus: |
|
"Minus" |
| :plus: |
|
"Plus" |
| :choice-cancel: |
|
"Cancel" |
| :choice-no: |
|
"No" |
| :choice-yes: |
|
"Yes / Done" |
| :unchecked: |
|
"Unchecked checkbox" |
| :checked: |
|
"Checked checkbox" |
| :flag: |
|
"Flag" |
| :flag-gray: |
|
"Gray flag" |
| :flag-gray-small: |
|
"Small gray flag, 13x13" |
| :led-aqua: |
|
"Aqua led" |
| :led-blue: |
|
"Blue led" |
| :led-gray: |
|
"Gray led" |
| :led-green: |
|
"Green led" |
| :led-orange: |
|
"Orange led" |
| :led-purple: |
|
"Purple led" |
| :led-red: |
|
"Red led" |
| :led-yellow: |
|
"Yellow led" |
| :led-box-aqua: |
|
"Aqua led" |
| :led-box-blue: |
|
"Blue led" |
| :led-box-gray: |
|
"Gray led" |
| :led-box-green: |
|
"Green led" |
| :led-box-orange: |
|
"Orange led" |
| :led-box-purple: |
|
"Purple led" |
| :led-box-red: |
|
"Red led" |
| :led-box-yellow: |
|
"Yellow led" |
| :tag: |
|
"Tag" |
| :tag-blue: |
|
"Blue tag" |
| :tag-brown: |
|
"Brown tag" |
| :tag-green: |
|
"Green tag" |
| :tag-magenta: |
|
"Magenta tag" |
| :tag-orange: |
|
"Orange tag" |
| :tag-purple: |
|
"Purple tag" |
| :tag-red: |
|
"Red tag" |
| :tag-yellow: |
|
"Yellow tag" |
| :tally: |
40 |
total |
Navigation icons
| You type |
You see |
Suggested use |
| :home: |
|
"Home" |
| :external: |
|
"External site" |
| :arrowdot: |
|
"Meet here (arrows to red dot)" |
| :left: |
|
"Left" |
| :right: |
|
"Right" |
| :up: |
|
"Up" |
| :down: |
|
"Down" |
| :arrowbleft: |
|
"Arrow blue left" |
| :arrowbright: |
|
"Arrow blue right" |
| :arrowbup: |
|
"Arrow blue up" |
| :arrowbdown: |
|
"Arrow blue down" |
| :arrowleft: |
|
"Arrow left" |
| :arrowright: |
|
"Arrow right" |
| :arrowup: |
|
"Arrow up" |
| :arrowdown: |
|
"Arrow down" |
| :go_start: |
|
"Go to start" |
| :go_fb: |
|
"Go fast back" |
| :go_back: |
|
"Go back" |
| :go_forward: |
|
"Go forward" |
| :go_ff: |
|
"Go fast forward" |
| :go_end: |
|
"Go to end" |
| :tally: |
21 |
total |
Interface icons
| You type |
You see |
Suggested use |
| :monospace: |
|
"Monospace" |
| :proportional: |
|
"Proportional" |
| :tablesortdiamond: |
|
"Sort table" |
| :tablesortdown: |
|
"Sort table descending" |
| :tablesortup: |
|
"Sort table ascending" |
| :toggleopen: |
|
"Open toggle, Twisty open toggle" |
| :toggleclose: |
|
"Close toggle, Twisty close toggle" |
| :toggleopen-small: |
|
"Open toggle, Twisty open toggle" |
| :toggleclose-small: |
|
"Close toggle, Twisty close toggle" |
| :toggleopen-mini: |
|
"Open toggle, Twisty open toggle" |
| :toggleclose-mini: |
|
"Close toggle, Twisty close toggle" |
| :toggleopenleft: |
|
"Open toggle, Twisty open toggle" |
| :toggleopenleft-small: |
|
"Open toggle, Twisty open toggle" |
| :web-bg: |
|
"Web background, used in WebLeftBarWebsList" |
| :web-bg-small: |
|
"Web background, 13x13" |
| :tally: |
15 |
total |
TWiki icons
| You type |
You see |
Suggested use |
| :addon: |
|
"Add-on" |
| :application: |
|
"Application" |
| :code: |
|
"Code" |
| :package: |
|
"Package" |
| :plugin: |
|
"Plugin" |
| :tag: |
|
"Tag" |
| :searchpackage: |
|
"Search package" |
| :searchtag: |
|
"Search tag" |
| :skin: |
|
"Skin" |
| :twiki: |
|
"TWiki logo" |
| :tally: |
10 |
total |
Block graphics
| You type |
You see |
Suggested use |
| :line_ld: |
|
"Line graph left-down" |
| :line_lr: |
|
"Line graph left-right" |
| :line_lrd: |
|
"Line graph left-right-down" |
| :line_rd: |
|
"Line graph right-down" |
| :line_ud: |
|
"Line graph up-down" |
| :line_udl: |
|
"Line graph up-down-left" |
| :line_udlr: |
|
"Line graph up-down-left-right" |
| :line_udr: |
|
"Line graph up-down-right" |
| :line_ul: |
|
"Line graph up-left" |
| :line_ulr: |
|
"Line graph up-left-right" |
| :line_ur: |
|
"Line graph up-right" |
| :dot_ld: |
|
"Dot graph left-down" |
| :dot_lr: |
|
"Dot graph left-right" |
| :dot_lrd: |
|
"Dot graph left-right-down" |
| :dot_rd: |
|
"Dot graph right-down" |
| :dot_ud: |
|
"Dot graph up-down" |
| :dot_udl: |
|
"Dot graph up-down-left" |
| :dot_udlr: |
|
"Dot graph up-down-left-right" |
| :dot_udr: |
|
"Dot graph up-down-right" |
| :dot_ul: |
|
"Dot graph up-left" |
| :dot_ulr: |
|
"Dot graph up-left-right" |
| :dot_ur: |
|
"Dot graph up-right" |
| :empty: |
|
"Empty transparent 16x16 spacer" |
| :tally: |
23 |
total |
Filetype icons
Filetype icons are used by the attachment table and are seldom used in topics. Write
| You type |
You see |
Suggested use |
| :as: |
|
"!ActionScript" |
| :bat: |
|
"MS-DOS batch file" |
| :bmp: |
|
"Bitmap" |
| :c: |
|
"C source code file " |
| :dll: |
|
"Dynamic Linked Library; Microsoft application file" |
| :doc: |
|
"Microsoft Word file" |
| :else: |
|
"Unknown file format" |
| :eml: |
|
"Microsoft Outlook e-mail file" |
| :exe: |
|
"Microsoft Executable file" |
| :fla: |
|
"Macromedia Flash Movie" |
| :fon: |
|
"Windows bitmapped font file" |
| :gif: |
|
"GIF" |
| :h: |
|
"Header file" |
| :hlp: |
|
"Standard help file" |
| :html: |
|
"HTML" |
| :java: |
|
"Java source code file " |
| :jpg: |
|
"JPEG" |
| :js: |
|
"!JavaScript" |
| :mdb: |
|
"Microsoft Access database File" |
| :mov: |
|
"!Quicktime movie" |
| :mp3: |
|
"MP3" |
| :pdf: |
|
"PDF" |
| :pl: |
|
"Perl source code file" |
| :png: |
|
"PNG" |
| :ppt: |
|
"!PowerPoint" |
| :ps: |
|
"Postscript" |
| :py: |
|
"Python source code file " |
| :ram: |
|
"!RealAudio" |
| :reg: |
|
"Registry file" |
| :sh: |
|
"Unix shell script" |
| :sniff: |
|
"sniff" |
| :swf: |
|
"SWF (Shockwave Flash)" |
| :ttf: |
|
"True Type font" |
| :txt: |
|
"Text" |
| :wav: |
|
"Waveform sound file" |
| :wri: |
|
"Windows Write" |
| :xls: |
|
"Microsoft Excel Spreadsheet" |
| :xml: |
|
"XML" |
| :xsl: |
|
"XSL (XML style sheet)" |
| :zip: |
|
"Compressed Zip archive" |
| :tally: |
40 |
total |
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
| Plugin Author: |
TWiki:Main.AndreaSterbini, TWiki:Main.PeterThoeny |
| Copyright: |
© 2001-2007, Andrea Sterbini, Peter Thoeny, TWiki Contributors |
| Plugin Version: |
21 Nov 2007 |
| Change History: |
|
| 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 |
| CPAN Dependencies: |
none |
| Other Dependencies: |
none |
| Perl Version: |
5.0 |
| TWiki:Plugins/Benchmark: |
GoodStyle 96%, FormattedSearch 98%, SmiliesPlugin 96% |
| Plugin Home: |
http://TWiki.org/cgi-bin/view/Plugins/SmiliesPlugin |
| Feedback: |
http://TWiki.org/cgi-bin/view/Plugins/SmiliesPluginDev |
| Appraisal: |
http://TWiki.org/cgi-bin/view/Plugins/SmiliesPluginAppraisal |
Related Topics: TWikiPreferences,
TWikiPlugins
Topic revision: r10 - 2012-06-11 - 12:45:10 -
DickFurnas