This template is used on approximately 44,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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.
Redirects
- Template:P
- Template:Face
- Template:SMiley
- Template:Smilie (Not be confused with {{Smile}})
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}}
- OODA WIKI:Emoticons