Difference between revisions of "Template:Emoticon"

(explanation)
 
(8 intermediate revisions by 2 users not shown)
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>
+
<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]]}}{{#ifeq: {{{1}}} | >:D |[[Image:evil.gif]]}}{{#ifeq: {{{1}}} | :-O |[[File:Shocked.gif]]}}{{#ifeq: {{{1}}} | applause |[[Image:applause.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==
 
{| cellspacing="10"
 
|-
 
! :) || [[Image:smiley.gif]]
 
|-
 
! ;) || [[Image:wink.gif]]
 
|-
 
! :P || [[Image:tongue.gif]]
 
|-
 
! :D || [[Image:cheesy.gif]]
 
|-
 
! :( || [[Image:sad.gif]]
 
|-
 
! >:( || [[Image:angry.gif]]
 
|-
 
|}  
 
 
 
[[Category:Templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 15:42, 20 January 2012

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[edit]

{{emoticon| :) }}

Where ":)" can be replaced with any available emoticon, as shown below. If an unrecognized emoticon is used the template will display nothing.

Example[edit]

You should use emoticons sparingly {{emoticon|>:(}}

Will display:

You should only use emoticons sparingly Angry.gif


Available emoticons[edit]

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"