Template talk:Smiley

Latest comment: 2 years ago by BilCat in topic Requested move 1 March 2022

Old discussions edit

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


  • {{smiley|1}} will produce

  (Friendly smile)

  • {{smiley|2}} will produce

  (Confident)

  • {{smiley|3}} will produce

  (Mocking)

  • {{smiley|4}} will produce

  (Hysterical)

  • {{smiley|5}} will produce

  (Hurt)

  • {{smiley|6}} will produce

  (Very Sorry)

  • {{smiley|7}} will produce

  (Sleepy)

  • {{smiley|8}} will produce

  (You are Nice)

  • {{smiley|9}} will produce

  (I am not happy)

  • {{smiley|0}} will produce

  (No Comment)

  • {{smiley|10}} will produce

  (Congratulations)

  • {{smiley|11}} will produce

  (I am in deep trouble)

  • {{smiley|12}} will produce

  (I am innocent)

  • {{smiley|13}} will produce

  (Sceptical)

  • {{smiley|14}} will produce

  (Upset)

  • {{smiley|15}} will produce

  (I am shocked)

  • {{smiley|16}} will produce

  (Confused)

  • {{smiley|17}} will produce

File:Cry-tpvgames.gif (Crying)

  • {{smiley|18}} will produce

  (Odd, Crazy)

  • {{smiley|19}} will produce

  (Sad)

  • {{smiley|20}} will produce

  (Shocked)

  • {{smiley|21}} will produce

  (Smile)

  • {{smiley}} will produce

  (Friendly smile)

trying to create a smiley template to make the community people to smile more often!!!

ERROR

Expression error: unrecognised punctuation character "{"

can anyone explain this?   216.37.227.202 23:08, 13 May 2006 (UTC)Reply

Error is okay the template works as intended.. see    «Mÿšíc»  (T) 18:14, 14 May 2006 (UTC)Reply

I managed to fix it.   Rfrisbietalk 09:04, 16 June 2006 (UTC)Reply

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Angry smiley edit

Can we please have a smiley for "angry". Suggest File:Face-angry red.png is a good one. Mjroots (talk) 09:30, 8 May 2011 (UTC)Reply

Done.

A520 | Talk me away! 19:16, 19 May 2011 (UTC)Reply

Publicity for this template? edit

I was just looking to create one of these for myself and I'm glad to see someone has already done the work, maybe this should be more commonly known somehow? Egg Centric 07:39, 4 July 2011 (UTC)Reply

P.S. Would be great to have a thumps up or thumps down   Egg Centric 07:40, 4 July 2011 (UTC)Reply

How about one with the smiley face person doing a "V"- peace sign? edit

--Hodgdon's secret garden (talk) 20:11, 1 March 2012 (UTC)Reply

Variants edit

Template:Smiley2 and Template:Smiley3. benzband (talk) 10:21, 8 May 2012 (UTC)Reply

Combine templates? edit

Is there any reason not to combine these templates into one. It would certainly make finding just the right smiley a little easier and also create a consistent syntax?

These are the template that think should be combined:

  • {{Smiley}}
  • {{Smiley2}}
  • {{Oldsmiley}}
  • {{Sert}}

All thoughts are welcome.  - MrX 15:08, 3 December 2013 (UTC)Reply

@MrX: As it is, I don't see the harm in having several templates. They may share similar moods/parameters (wink, raspberry, angry, sad, etc.), but the smileys themselves are different (compare, for instance, these three set to "sad": {{smiley|sad}}  ; {{smiley2|sad}}  ; {{sert|sad}}   or these three set to "tongue": {{smiley|tongue}}  ; {{smiley2|tongue}}  ; {{oldsmiley|tongue}}  ); which allows for editors to choose between them if they have a preference. And if we managed to combine the options from all four templates into one, wouldn't that make it more cumbersome to use as well as upset the appearance of smileys already placed on pages across Wikipedia? benzband (talk) 16:17, 3 December 2013 (UTC)Reply
OK, it probably was not a great idea to combine them after all. - MrX 00:44, 5 December 2013 (UTC)Reply

Change the redirect ("p"/"P") to this template..? edit

Hello. I'm thinking that a template {{p}} as a (more standardized, less garbled-looking and easier) means to render page numbers (mostly within <ref>s, e.g. "p.&nbsp;1") might be worthwhile. (So, too, might {{pp}}, etc.) If so, this would mean this template {{Smiley}} would need a different redirect. Would that be acceptable..? Sardanaphalus (talk) 11:13, 4 February 2014 (UTC)Reply

There are four other redirects to this template: {{(:}}, {{(-:}}, {{-)}} and {{=)}}. The documentation could be updated to refer to one of these instead. However, there are approximately 900 transclusions of {{P}}, which a bot would need to change. Be aware that the redirect is in active use and a lot of people would be surprised by a change. – PartTimeGnome (talk | contribs) 21:17, 4 February 2014 (UTC)Reply

Proposal to change template for Wikidata edit

Wikidata uses two concepts repeatedly, P and Q. Template:Q makes a link to Wikidata items. Template:P currently redirects to Template:Smiley, but could go to Wikidata properties. Since the concept of P is so fundamental to Wikidata, and since the current P redirect to smiley is only used about 1500 times, I propose to take over Template:P for Wikidata. Any objections? See Special:WhatLinksHere/Template:P for usage. Blue Rasberry (talk) 17:27, 26 August 2014 (UTC)Reply

Do not comment here - please instead comment at Wikipedia:Redirects_for_discussion/Log/2014_August_26#Template:P. Blue Rasberry (talk) 19:39, 26 August 2014 (UTC)Reply

Test... edit

  --KawaiiCafé ◯ ‿‿ () 07:33, 14 February 2016 (UTC)Reply

New Description parameter wanted edit

By default, if I use the smile emoticon, hovering over it displays the words 'smiling face', but I might want to change this to things like Smile, LOL, LMAO, Thanks, I love it, You cannot be serious (provided that's not being used as a Personal Attack), Oops - how foolish of me, or something in the native language of the editor I'm talking to, and so on. So what would be nice is to add a new 'desc=' parameter that defaults to what we currently display but can be entered by us (perhaps including some documented 'no words' option (such as two or more blank spaces), as no words would normally give the default).Tlhslobus (talk) 06:20, 14 December 2017 (UTC)Reply

(PS: If this suggestion is in the wrong place, please let me know where the right place is). Tlhslobus (talk) 06:20, 14 December 2017 (UTC)Reply

I've now created the new section below using the 'Submit an edit request' button in the 'View Code' part of this template's Template page, but, as indicated below, I'm not sure that my edit has been successfully submitted, nor where to report this apparent problem. Tlhslobus (talk) 07:01, 14 December 2017 (UTC)Reply

Template-protected edit request on 14 December 2017 edit

By default, if I use the smile emoticon, hovering over it displays the words 'smiling face', but I might want to change this to things like Smile, LOL, LMAO, Thanks, I love it, You cannot be serious (provided that's not being used as a Personal Attack), Oops - how foolish of me, or something in the native language of the editor I'm talking to, and so on. So what would be nice is to add a new 'desc=' (or 'display=', or whatever) parameter that defaults to what we currently display but can be entered by us (perhaps including some documented 'no words' option (such as two or more blank spaces), as no words would normally give the default).

Tlhslobus (talk) 06:39, 14 December 2017 (UTC)Reply

Note 1: I have no reason to expect this to be controversial, tho I guess it's always possible that I'm mistaken. Tlhslobus (talk) 06:56, 14 December 2017 (UTC)Reply

Note 2: I had to add the above description manually, as it did not appear when I submitted it by the recommended procedure (which also had the same effect in the Preview second time around), so I don't know whether the request will be ignored, nor where to report this apparent problem.Tlhslobus (talk) 06:56, 14 December 2017 (UTC)Reply

I don't see it as being exactly controversial. But since it's a material change, let's let it sit for a few days just to make sure nobody has a problem with it. StevenJ81 (talk) 17:56, 14 December 2017 (UTC)Reply
The "canonical" parameter name for changing tooltips (the title HTML attribute) would be |title=. The request seems completely non-controversial, since it would greatly improve the functionality of the template for essentially no overhead (indeed, using the parameter would skip the entire first switch test if implemented properly). The only issue is sandboxing it and doing some tests to make sure the safesubst stuff is implemented properly; we want the output to be clean regardless what parameters people use.  — SMcCandlish ¢ >ʌⱷ҅ʌ<  22:16, 15 December 2017 (UTC)Reply
  Not done Doesn't seem to be any "content" type objection, however you will need to sandbox this and prepare the exact code you want changed, then reactivate this request. — xaosflux Talk 01:01, 19 December 2017 (UTC)Reply
  • 1) Thanks for your reply, xaosflux.
  • 2) However based on my few previous Template changes, and given that it's the holiday season, it may (or may not) well be sometime in January before I even find out whether I have or can acquire the necessary skills to make the sandbox change myself unassisted (always assuming I haven't simply lost interest by then, and/or in practice felt forced to spend my time on other things, as is obviously already the case right now).
  • 2b) So, although I might well enjoy the challenge and the learning process, it might greatly speed things up if somebody else with far greater relevant experience were to try to make the change right away.
  • 3) Also, on a related but separate point, where should I (or anybody else) report the apparent problem that I encountered with our system producing a blank change description here, as already mentioned by me in my Note 2 above?
  • 4) Regards, and Merry Christmas and Happy New Year. Tlhslobus (talk) 11:08, 19 December 2017 (UTC)Reply
  • (2) Really anyone who wants to work this up can, if they are not a template editor once worked up, reactivate this and someone patrolling the requests will get to it. (3) When you Clicked "View Source" then "request an edit" did you end up on THIS page, or something else? You can report with details that to WP:VPT. — xaosflux Talk 12:51, 19 December 2017 (UTC)Reply
Thanks.Tlhslobus (talk) 13:54, 19 December 2017 (UTC)Reply
And the reported problem with edit requests has now been fixed (see here).Tlhslobus (talk) 12:35, 20 December 2017 (UTC)Reply

Template-protected edit request on 23 December 2017 edit

  • 1) Requested Change Description: By default, if I use the smile emoticon, hovering over it displays the words 'smiling face', but I might want to change this to things like Smile, LOL, LMAO, Thanks, I love it, You cannot be serious (provided that's not being used as a Personal Attack), Oops - how foolish of me, or something in the native language of the editor I'm talking to, and so on. So we have discussed adding a new 'desc=' parameter that defaults to what we currently display but can be entered by us (including a 'no words' option, which is documented in the proposed documentation change (item 4 below)).
  • 2) The change was discussed here, where it was agreed that it was non-controversial.
  • 3) I have now coded the required changes, which can currently be found here, but an edit protection line, which keeps getting removed by a bot, is needed at the front, as can be seen in full here. For more precision, see Clarification in item 9 below (which I've added following advice here.
  • 4) The Required Documentation changes can be seen here (the TemplateData Section at Template:Smiley/doc needs to be replaced as shown). For more precision, see Clarification of Documentation Change in item 9b below
  • 5) The changes have been extensively tested, as can be seen here.
  • 6) For Face=3 the Template currently gives a tooltip of 'Blushing face' when it should be 'Winking face'. The proposed change fixes this, but If for some reason you want to keep the existing apparent 'error', simply replace
  • Winking face = Winking face
by
  • Winking face = Blushing face
as shown here.
  • 7) It has been suggested that the new parameter should be called 'title', but I have used 'desc', partly because it's shorter, and partly because there's already a _title parameter in testcases.
  • 8) The documentation indicates that an invalid Size parameter will overwrite the description; please note that this is already the case with the existing Template. Tlhslobus (talk) 10:21, 23 December 2017 (UTC)Reply
  • 9) Clarification: Please replace the entire page at Template:Smiley with Special:PermaLink/816739269 from Template:Smiley/sandbox.
@Tlhslobus: I'm going to rewrite your change, since you seemed to ignore xaosflux's comments about coding it to reduce overhead if the parameter is used. I also think that the parameter should be 'title', since that is that canonical name it, but I will set up desc as an alternate.
  Done --Ahecht (TALK
PAGE
) 19:41, 2 January 2018 (UTC)Reply
@Ahecht: Did you intend to do away with the original default "desc" of "Smiley face"? Because you've done away with it. StevenJ81 (talk) 20:47, 2 January 2018 (UTC)Reply
Strange, I could've sworn it was working when I previewed the changes. In any case, it should be fixed now. --Ahecht (TALK
PAGE
) 21:14, 2 January 2018 (UTC)Reply
Seems to be, now. Thanks. StevenJ81 (talk) 21:38, 2 January 2018 (UTC)Reply
@Ahecht: Thanks for making the change, and thanks for re-writing it more efficiently than I did or knew how to do. But I should perhaps mention that I am not aware that I "seemed to ignore xaosflux's comments about coding it to reduce overhead if the parameter is used", since if xaosflux made such a comment I don't see where s/he made it, as I don't see any mention of reducing overheads in either of the two xaosflux comments on this page, nor in his/her reply to my query on his/her talk page (here) - if I had seen such a comment there would presumably have been a reply from me saying I didn't know how to do it. Tlhslobus (talk) 05:37, 3 January 2018 (UTC)Reply
@Tlhslobus: Sorry, I meant to say "SMcCandlish's comments. My mistake, and no worries about not seeing it. --Ahecht (TALK
PAGE
) 15:24, 3 January 2018 (UTC)Reply
Thanks.Tlhslobus (talk) 00:51, 4 January 2018 (UTC)Reply

Kitty edit

I've uploaded a new image, Commons:File:Kitty.png. Please could you add it to the list of options?

...There seems to be a minor problem that File:Kitty.png redirects to File:KittyConnolly the Wikipedian.png. nagualdesign 02:31, 11 February 2018 (UTC)Reply

I've requested that the file be renamed File:Kitty emoji.png. Sorry about that. nagualdesign 02:33, 11 February 2018 (UTC)Reply
  Renamed and done.  Paine Ellsworth  put'r there  03:42, 11 February 2018 (UTC)Reply
Thank you! nagualdesign 03:48, 11 February 2018 (UTC)Reply
Pleasure! Paine  
The previous image didn't scale well so I created a smaller one, 18px × 18px, and also created a shortcut, which I took the liberty of adding to the template. I hope that's okay.   ...I've also added documentation to {{kitty}} in the form <noinclude>{{documentation|1=Template:=)/doc}}</noinclude> but I'm not sure if that's the done thing. nagualdesign 02:05, 12 February 2018 (UTC) PS. I've only just clocked the pleasure/paine thing. Haha! Very good.Reply
{{Kitty}} looks fine to me in its present form. Happy Hearts Day!  Paine  07:15, 12 February 2018 (UTC)Reply

Template-protected edit request on 13 April 2018 edit

Add "plain" smiley that should have been number 2 but will now end at the bottom of the list

Smiley 31: File:Face-plain.svg ( ), code: "plain" -- the problem with providing an alternative code is that the horizontal bar is also the template argument separator. ~ ToBeFree (talk) 16:41, 13 April 2018 (UTC)Reply

  Done Primefac (talk) 02:27, 15 April 2018 (UTC)Reply

License issue, at least with the "awesome smiley", when not linking to the original image edit

At least one smiley, the "awesome" one, is not licensed "public domain" and must be attributed, for example using a link to the file page.

Clicking a smiley currently does not do anything. The reason for this might be convenience, and avoiding accidental clicks? I would personally prefer adding a link to the file page for each of the smiley options, independently of their license. They already have a hover text; why should clicking do nothing? ~ ToBeFree (talk) 18:53, 22 July 2018 (UTC)Reply

Template:P has been nominated for retarggeting edit

Mike Peel has started a discussion at Template talk:P about changing {{P}} (which redirects here) into a redirect to template:Wikidata property link. I invite you to take part in the linked discussion. Thryduulf (talk) 17:43, 4 September 2018 (UTC)Reply

Template-protected edit request on 13 December 2018 edit

Add a hatnote such as:

{{redirect|Template:-)|the formatting template|Template:Space+parenthesis}}

Shortcuts for other formatting templates are {{-'}} and {{-"}}. It's logical to assume that {{-)}} would also be used for a similar purpose. This hatnote would be very helpful in pointing users to the correct place. MANdARAX  XAЯAbИAM 20:01, 13 December 2018 (UTC)Reply

  Done. Seems reasonable to me. – Jonesey95 (talk) 02:16, 14 December 2018 (UTC)Reply
Thanks! MANdARAX  XAЯAbИAM 02:45, 14 December 2018 (UTC)Reply

Automatic substitution edit

Used on talk pages all around the project, ending up in years-old archives, this seems to be a classical example of a template that should automatically be substituted by AnomieBOT. It would be trivial to implement this change by adding the relevant code to the template's documentation subpage, so this is not a classical edit request. I am rather posting this here to see if someone raises an objection in the next, say, 30 days. ~ ToBeFree (talk) 09:49, 14 April 2019 (UTC)Reply

@ToBeFree: AnomieBOT refuses to substitute templates with >100 transclusions unless they are added to the template-protected User:AnomieBOT/TemplateSubster force, so this will in fact require a template editor to implement. (I'm neutral on whether this should be substituted.) * Pppery * has returned 04:09, 15 April 2019 (UTC)Reply
Ah, I see, thank you for the clarification. That does seem to be a reasonable safeguard. ~ ToBeFree (talk) 11:08, 15 April 2019 (UTC)Reply
@ToBeFree: It's been over a month. * Pppery * survives 21:52, 17 May 2019 (UTC)Reply
Oh, Pppery, I forgot about this, thank you very much. Hmm hmm. In the meantime, at Special:PermanentLink/896892472#Request for creation, I have learned that I may need to be more careful about consistency-justified requests. This one has potential for mass disruption if anything goes wrong, and the benefit is negligible. I abandon this request, but I do not object to it. Any template editor or administrator who sees a need to substitute this template can probably do so, pointing to this discussion but taking the responsibility for the edit themselves. ~ ToBeFree (talk) 22:37, 17 May 2019 (UTC)Reply
Listed at Wikipedia:Templates for discussion/Log/2019 May 26. * Pppery * survives 00:38, 26 May 2019 (UTC)Reply

Template:Space+parenthesis edit

Please add Template:Space+parenthesis to the See also. Shhhnotsoloud (talk) 18:12, 31 August 2019 (UTC)Reply

Template-protected edit request on 17 October 2020 edit

Remove the hatnotes in the noinclude tags as they are not part of the transcluded template and I recently copied the hatnotes to the documentation. JsfasdF252 (talk) 00:51, 17 October 2020 (UTC)Reply

To editor JsfasdF252:   done, and thank you very much! P.I. Ellsworth  ed. put'r there 16:33, 17 October 2020 (UTC)Reply

"Template:P" listed at Redirects for discussion edit

  A discussion is taking place to address the redirect Template:P. The discussion will occur at Wikipedia:Redirects for discussion/Log/2021 January 16#Template:P until a consensus is reached, and readers of this page are welcome to contribute to the discussion. czar 03:58, 16 January 2021 (UTC)Reply

Template-protected edit request on 20 February 2021 edit

Per the accessibility reasons outlined under Template:Abbr/doc, <abbr>...</abbr> should not be used in any way except for actual abbreviations. Please change this to the version that appears in the sandbox.

I've also added descriptions for {{Smiley|plain}} and {{Smiley|holidays}}. Besides that, I have added two new emojis: {{think}} and {{\:}}. Unless there is any objection to their inclusion, I would like to see them added without having to go through a merger TFD. –MJLTalk 21:59, 20 February 2021 (UTC)Reply

The rule indicated in context of the documentation is regarding the use of hover over text as emitted for most uses of title=. I'm willing to entertain that this template uses abbr because a longer version of a smiley may better indicate the abbreviation of most emoji. Not a particular stretch from the intent of the HTML. I think that part needs consensus.
Don't see a fundamental issue with the other change. --Izno (talk) 19:03, 21 February 2021 (UTC)Reply

Template-protected edit request on 19 May 2021 edit

I think you should add B) and B-) as parameter for shades smiley. YavBav09 (talk)  18:09, 19 May 2021 (UTC)Reply

  Not done: Please see the documentation. A shades smiley can be generated with "8-)":  Jonesey95 (talk) 20:09, 19 May 2021 (UTC)Reply
I know. I just think it would be appropriate to have B) and B-) as a parameter too. YavBav09 (talk)  10:14, 21 May 2021 (UTC)Reply
  Not done for now: please establish a consensus for this alteration before using the {{edit template-protected}} template. – Jonesey95 (talk) 13:08, 22 May 2021 (UTC)Reply

Requested move 1 March 2022 edit

The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review after discussing it on the closer's talk page. No further edits should be made to this discussion.

The result of the move request was: Unnecessary discussion. I've created a redirect at Template:Cry. (non-admin closure) BilCat (talk) BilCat (talk) 10:58, 1 March 2022 (UTC)Reply


– The new title is easier to remember. ⸺Q28 is preparing for the senior high school entrance examination 10:26, 1 March 2022 (UTC)Reply

The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.