Template:Smiley

From Template Wiki, a repository of MediaWiki templates.
  (Redirected from Template:=))
Jump to navigation Jump to search

Face-smile.svg

Template documentation[view] [edit] [history] [purge]

Usage[edit source]

Different smilies can be made using parameters. For instance, {{Smiley|sad}} produces Face-sad.svg. The default (no parameter) is a simple smile.

The size of the smiley can be changed using the |size= parameter. For example, {{Smiley|size=15px}} produces Face-smile.svg, which is a little smaller than the default. If |size= is not specified, the default size is 18px.

The default title text, shown as a tooltop when hovering over the smiley, can be changed using |title=. For example {{Smiley|title=I'm happy}} produces Face-smile.svg. This parameter will be over-written if an invalid size parameter is specified.

The full list of smilies is as follows. Some are duplicates — for instance, the value 10 or any of the words cry, crying, or tears will produce Cry.png.

Smiley Code Redirects
Face-smile.svg 1 smile :) :-) {{(-:}}, {{(:}}, {{-)}}, {{=)}}
Face-sad.svg 2 frown sad :( :-( {{):}}, {{=(}}
Face-wink.svg 3 wink ;) ;-) {{;)}}
Face-blush.svg 4 blush :$ :-$
Face-grin.svg 5 grin :D :-D {{=D}}
Face-surprise.svg 6 surprise :O :-O
Face-tongue.svg 7 tongue :P :-P {{=P}}
Face-confused.svg 8 confused %) %-) {{=S}}
Emblem-cool.svg 9 shades shade 8) 8-) {{shades}}
Cry.png 10 crying tears cry :'( :'-( {{)':}}
Lightbulb.png 11 lightbulb idea
Smile eye.png 12 wink2
Wink.png 13 wink3
Face-grin.svg 14 big-grin biggrin
Face-devil-grin.svg 15 devil-grin devil evil
Face-kiss.svg 16 kiss
Face-smile-big.svg 17 smirk
Face-crying.svg 18 big-cry bigcry sob
Face-glasses.svg 19 glasses nerd
Face-angel.svg 20 angel 0:) 0:-)
Face-hand.svg 21 ttth
718smiley.svg 22 awesome {{awesome}}
Emoticon =v=.svg 23 vsmile
Dont panic.svg 24 dontpanic dp
Teeth.png 25 teeth
Face-angry red.png 26 angry
Ras.gif 27 raspberry
Confused.png 28 very-confused

Redirects[edit source]

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Smiley

Add an emoticon.

Template parameters

ParameterDescriptionTypeStatus
Face1

The face you want to put. See [[Template:Smiley/doc]] for acceptable input values.

Default
smile
Stringoptional
Sizesize

Size of the smiley.

Default
18px
Stringoptional
Titletitle desc

Optional user-defined tooltip description, to replace the default title (Warning: this parameter is over-written if an invalid size parameter is specified).

Default
Smiling Face, Sad Face, etc...
Stringoptional

See also

Wikipedia logo This template uses material from the Wikipedia template Template:Smiley, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors).