Difference between revisions of "Template:Emoticon"
(explanation) |
|||
Line 1: | Line 1: | ||
{{#ifeq: {{{1}}} | :) | [[Image:smiley.gif]]}}{{#ifeq: {{{1}}} | ;) | [[Image:wink.gif]]}}{{#ifeq: {{{1}}} | :P | [[Image:tongue.gif]]}}{{#ifeq: {{{1}}} | :D | [[Image:cheesy.gif]]}}{{#ifeq: {{{1}}} | :( | [[Image:sad.gif]]}}{{#ifeq: {{{1}}} | >:( | [[Image:angry.gif]]}}<noinclude> | {{#ifeq: {{{1}}} | :) | [[Image:smiley.gif]]}}{{#ifeq: {{{1}}} | ;) | [[Image:wink.gif]]}}{{#ifeq: {{{1}}} | :P | [[Image:tongue.gif]]}}{{#ifeq: {{{1}}} | :D | [[Image:cheesy.gif]]}}{{#ifeq: {{{1}}} | :( | [[Image:sad.gif]]}}{{#ifeq: {{{1}}} | >:( | [[Image:angry.gif]]}}<noinclude> | ||
+ | The <nowiki>{{</nowiki>'''emoticon'''<nowiki>}}</nowiki> template is meant to show emoticons graphically. It is for use in discussion pages '''ONLY''', as emoticons are not appropriate for standard entries. | ||
+ | |||
+ | Instead of writing: | ||
+ | |||
+ | * This is a neat idea :) | ||
+ | |||
+ | You can write: | ||
+ | |||
+ | * This is a neat idea {{emoticon|:)}} | ||
+ | |||
+ | |||
+ | __TOC__ | ||
+ | ==Usage== | ||
+ | <pre> | ||
+ | {{emoticon| :) }} | ||
+ | </pre> | ||
+ | |||
+ | Where ":)" can be replaced with any available emoticon, as shown below. If an unrecognized emoticon is used the template will display nothing. | ||
+ | |||
+ | ===Example=== | ||
+ | <pre> | ||
+ | You should only use emoticons sparingly {{emoticon|>:(}} | ||
+ | </pre> | ||
+ | |||
+ | Will display: | ||
+ | |||
+ | You should only use emoticons sparingly {{emoticon|>:(}} | ||
+ | |||
+ | |||
==Available emoticons== | ==Available emoticons== |
Revision as of 00:35, 8 July 2009
The {{emoticon}} template is meant to show emoticons graphically. It is for use in discussion pages ONLY, as emoticons are not appropriate for standard entries.
Instead of writing:
- This is a neat idea :)
You can write:
Contents
Usage
{{emoticon| :) }}
Where ":)" can be replaced with any available emoticon, as shown below. If an unrecognized emoticon is used the template will display nothing.
Example
You should only use emoticons sparingly {{emoticon|>:(}}
Will display:
You should only use emoticons sparingly
Available emoticons
:) | |
---|---|
;) | |
:P | |
:D | |
:( | |
>:( |