Difference between revisions of "Template:Emoticon"

m
m
Line 1: Line 1:
 
<span style="display:inline">{{#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]]}}{{#ifeq: {{{1}}} | :\ |[[Image:undecided.gif]]}}</span><noinclude>
 
<span style="display:inline">{{#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]]}}{{#ifeq: {{{1}}} | :\ |[[Image:undecided.gif]]}}</span><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.
+
{{emoticon/doc}}
 
 
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==
 
{| border="1" cellpadding="5" style="border-collapse:collapse"
 
|-
 
! Text
 
! Image
 
! Meaning
 
|-
 
! :)
 
![[Image:smiley.gif]]
 
| "smiley"
 
|-
 
! ;)
 
! [[Image:wink.gif]]
 
| "wink"
 
|-
 
! :P
 
! [[Image:tongue.gif]]
 
| "foolish"
 
|-
 
! :D
 
! [[Image:cheesy.gif]]
 
| "happy"
 
|-
 
! :(
 
! [[Image:sad.gif]]
 
| "sad"
 
|-
 
! >:(
 
! [[Image:angry.gif]]
 
| "angry"
 
|-
 
! :\
 
! [[Image:undecided.gif]]
 
| "not sure"
 
|}
 
 
 
[[Category:Templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 13:16, 18 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:

  • This is a neat idea Smiley.gif


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 use emoticons sparingly {{emoticon|>:(}}

Will display:

You should only use emoticons sparingly Angry.gif


Available emoticons

Text Image Meaning
:) Smiley.gif "smiley"
;) Wink.gif "wink"
:P Tongue.gif "foolish"
:D Cheesy.gif "happy"
:( Sad.gif "sad"
>:( Angry.gif "angry"
:\ Undecided.gif "unsure"
>:D Evil.gif "devilish"
:-O Shocked.gif "shocked/surprised"
applause Applause.gif "applause"