Template:Smiley: Difference between revisions

From Hydrogenaudio Knowledgebase
No edit summary
(Updated template to use switch function.)
Line 1: Line 1:
[[Image:Smiley--{{{1}}}.png]]<noinclude>
{{#switch: {{{1}}}  
| ; = [[Image:Smiley--;.png]]
| ) = [[Image:Smiley--).png]]
| D = [[Image:Smiley--D.png]]
| ( = [[Image:Smiley--(.png]]
| O = 😮
| [[Image:Smiley--).png]]
}}<noinclude>
== Usage ==
== Usage ==
This is probably temporary, templates for each smiley would probably be better, but for now...
This is probably temporary, templates for each smiley would probably be better, but for now...
 
  <nowiki>{{smiley|last letter of smiley}}, e.g. {{smiley|)}} for :), {{smiley|D}} for :D</nowiki>
<nowiki>{{smiley|last letter of smiley}}, e.g.:
{{smiley|)}} for :), {{smiley|D}} for :D</nowiki>
</noinclude>
</noinclude>

Revision as of 13:24, 6 October 2018

Usage

This is probably temporary, templates for each smiley would probably be better, but for now...

 {{smiley|last letter of smiley}}, e.g. {{smiley|)}} for :), {{smiley|D}} for :D