Forum:Communipedia/Smiley Templates

Hello everyone, I am Pikapi of Communipedia beck with another question. I wanted to begin a new "smiley" project on Communipedia, where just by entering smiley abbreviations such as :) ;) :( :3 :D and #:( an image of a smiley would appear instead. How could i edit the coding to do this? -- " PiKaPi  talk   blog  21:44, June 21, 2010 (UTC)


 * Well, normally you would use a template, but colons tend to confuse templates. I've seen = used instead of colon and that seems to work. So, you could make templates like the following:
 * w:c:communipedia:Template:=)
 * w:c:communipedia:Template:;)
 * w:c:communipedia:Template:=(
 * w:c:communipedia:Template:=3
 * w:c:communipedia:Template:=D
 * Not sure what you could use for #:( as #=( won't work. Maybe w:c:communipedia:Template:m=(
 * For the template wikicode you could use the following:
 * Where smiley_image is the image for the appropriate smiley. -- Fandyllic  (talk &middot; contr) 10:19 PM PST 21 Jun 2010
 * At the War of Legends wiki we use templates with the =. We also have Custom edit buttons. See here.  Manyman  (Talk)  07:44, June 22, 2010 (UTC)
 * BTW I don't think it is possible to have it to happen automatically without templates :/.  Manyman  (Talk)  21:40, June 23, 2010 (UTC)
 * Actually you could probably use page load Javascript, but it would slow things down and may not work reliably. -- Fandyllic  (talk &middot; contr) 2:44 PM PST 23 Jun 2010
 * Actually you could probably use page load Javascript, but it would slow things down and may not work reliably. -- Fandyllic  (talk &middot; contr) 2:44 PM PST 23 Jun 2010

Ok then, I'll give it a try!-- " PiKaPi  talk   blog  18:35, June 25, 2010 (UTC)