Template:Smiley/doc

From The Right Wiki
Jump to navigationJump to search

Usage

Different smilies can be made using parameters. For instance, {{Smiley|sad}} produces File: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 File: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 File: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 File:Cry.png.

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

Redirects

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Smiley in articles based on its TemplateData.

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