Template:Smiley
This template is used on approximately 30,000 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
Usage
Different smilies can be made using parameters. For instance, {{Smiley|sad}} produces 18px. 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 15px, 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 18px. 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 18px.
Smiley | Code | Redirects | |||||
---|---|---|---|---|---|---|---|
18px | 1 | smile | :) | :-) | {{(-:}} , {{(:}} , {{-)}} , {{=)}}
| ||
18px | 2 | frown | sad | :( | :-( | {{):}} , {{=(}} , {{frown}}
| |
18px | 3 | wink | ;) | ;-) | {{;)}}
| ||
18px | 4 | blush | :$ | :-$ | |||
18px | 5 | grin | :D | :-D | {{=D}}
| ||
18px | 6 | surprise | :O | :-O | |||
18px | 7 | tongue | :P | :-P | {{=P}}
| ||
18px | 8 | confused | %) | %-) | {{=S}}
| ||
18px | 9 | shades | shade | 8) | 8-) | {{shades}}
| |
18px | 10 | crying | tears | cry | :'( | :'-( | {{)':}}
|
18px | 11 | lightbulb | idea | ||||
18px | 12 | wink2 | |||||
18px | 13 | wink3 | |||||
18px | 14 | big-grin | biggrin | ||||
18px | 15 | devil-grin | devil | evil | |||
18px | 16 | kiss | |||||
18px | 17 | smirk | |||||
18px | 18 | big-cry | bigcry | sob | |||
18px | 19 | glasses | nerd | ||||
18px | 20 | angel | 0:) | 0:-) | |||
18px | 21 | ttth | |||||
18px | 22 | awesome | {{awesome}}
| ||||
18px | 23 | vsmile | |||||
18px | 24 | dontpanic | dp | ||||
18px | 25 | teeth | |||||
18px | 26 | angry | |||||
18px | 27 | raspberry | |||||
18px | 28 | very-confused | |||||
18px | 29 | sarcastic | |||||
18px | 30 | kitty | {{kitty}}
| ||||
18px | 31 | plain | {{meh}}
|
Redirects
- Template:Smiley
- Template:Face
- Template:SMiley
- Template:Smilie (Not be confused with {{Smile}})
- Template:Tongue
TemplateData
TemplateData for Smiley
Add an emoticon.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Face | 1 | The face you want to put. See [[Template:Smiley/doc]] for acceptable input values.
| String | optional |
Size | size | Size of the smiley.
| String | optional |
Title | title desc | Optional user-defined tooltip description, to replace the default title (Warning: this parameter is over-written if an invalid size parameter is specified).
| String | optional |
See also
- {{Smiley2}}
- {{Oldsmiley}}
- {{Sert}}
- {{Emoji}}
- Wikipedia:Emoticons
The above documentation is transcluded from Template:Smiley/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |