Template talk:Icon
![]() | Template:Icon is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Icon template. |
|
Archives: 1, 2Auto-archiving period: 365 days ![]() |
Icon for phabricator
[edit]![]() | This edit request to Module:Icon/data has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
We have {{icon|wikidata}}
and assorted friends for various MW sites.
Please also add some of the other MW sites. The following should be oven-ready:
mediawiki= { image = "MediaWiki-2020-icon.svg", tooltip = "MediaWiki", link = false, }, phabricator = { aliases = {"phab"}, image = "Favicon-Phabricator-WM.svg", tooltip = "Phabricator", link = false, }, wikitech= { image = "Wikitech-2021-blue-icon.svg", tooltip = "Wikitech", link = false, },
Thanks — GhostInTheMachine talk to me 13:17, 18 October 2022 (UTC)
- nudge — GhostInTheMachine talk to me 16:47, 1 December 2022 (UTC)
Completed –
{{icon|mediawiki}}
{{icon|phabricator}}
{{icon|wikitech}}
- P.I. Ellsworth , ed. put'r there 06:39, 2 December 2022 (UTC)
Template-protected edit request on 28 October 2023—add Draft class icon
[edit]![]() | This edit request to Module:Icon/data has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
![](http://upload.wikimedia.org/wikipedia/en/thumb/0/09/Symbol_draft_class.svg/220px-Symbol_draft_class.svg.png)
Could this icon for Draft-Class articles please be added?
draft = {
image = "Symbol draft class.svg",
tooltip = "Draft-Class article",
link = false,
},
— Remsense聊 21:18, 28 October 2023 (UTC)
- Please link to the discussion about this change. – Jonesey95 (talk) 21:51, 28 October 2023 (UTC)
- Oh, my bad, I meant to make this on the module page itself, I'm sorry!
e—I had, the button to submit an edit request on the module page links to this page. Did I do something wrong? Remsense聊 23:57, 28 October 2023 (UTC)- To editor Remsense: not at all. The module's talk page is remote and redirects to this page, so you're in the right place. Jonesey95 wants to know if your change to the module enjoys consensus? or are you the only one who favors the addition of the draft icon? P.I. Ellsworth , ed. put'er there 15:24, 29 October 2023 (UTC)
- Paine Ellsworth, I mean, I suppose it seemed perfunctory given how the icon is used in other high-volume templates, inline with expectations about how Wikipedia is structured, but I suppose since
{{icon}}
is so high-volume, i still should've polled first. — Remsense聊 15:29, 29 October 2023 (UTC)
- Paine Ellsworth, I mean, I suppose it seemed perfunctory given how the icon is used in other high-volume templates, inline with expectations about how Wikipedia is structured, but I suppose since
- To editor Remsense: not at all. The module's talk page is remote and redirects to this page, so you're in the right place. Jonesey95 wants to know if your change to the module enjoys consensus? or are you the only one who favors the addition of the draft icon? P.I. Ellsworth , ed. put'er there 15:24, 29 October 2023 (UTC)
- Oh, my bad, I meant to make this on the module page itself, I'm sorry!
Done Non-controversial. SWinxy (talk) 20:21, 2 November 2023 (UTC)
Information icon
[edit]![]() | This edit request to Module:Icon/data has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
![](http://upload.wikimedia.org/wikipedia/en/thumb/3/35/Information_icon.svg/220px-Information_icon.svg.png)
I'd like to request the information icon, seems to be a pretty common and uncontroversial icon used throughout the project.
I've never made a template request change before, but I believe this should look like:
info = { image = "Information icon.svg", tooltip = "Information", link = false, },
Thanks, microbiologyMarcus (petri dish•growths) 20:50, 6 November 2023 (UTC)
Discussion notification icon
[edit]![]() | This edit request to Module:Icon/data has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/7/7a/Echo_edit-user-talk_icon.svg/220px-Echo_edit-user-talk_icon.svg.png)
I'd like to request the discussion notification icon that is a part of the mw:Extension:Echo. I'll assert that this is a non-controversial addition as this icon is used throughout the project.
discussionnotificaion = { image = "Echo edit-user-talk icon.svg", tooltip = "Discussion", link = false, },
Thanks, microbiologyMarcus (petri dish·growths) 17:47, 8 December 2023 (UTC)
Multiple alert icons
[edit]![]() | This edit request to Module:Icon/data has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/9/99/OOjs_UI_icon_alert-yellow.svg/220px-OOjs_UI_icon_alert-yellow.svg.png)
I'd like to request the set of alert images that go along with File:OOjs UI icon alert-yellow.svg. I'll assert that this is should be a pretty non contreversial addition, but if the sheer number of additions or the incorrect naming is a concern, let me know I'd be happy to discuss.
alert = { image = "OOjs UI icon alert.svg", tooltip = "Alert", link = false, }, alert-inverted = { image = "OOjs UI icon alert-invert.svg", tooltip = "Alert", link = false, }, alert-progressive= { image = "OOjs UI icon alert-progressive.svg", tooltip = "Alert", link = false, }, alert-destructive= { image = "OOjs UI icon alert-destructive.svg", tooltip = "Alert", link = false, }, alert-warning= { image = "OOjs UI icon alert-warning.svg", tooltip = "Alert", link = false, }, alert-imagewarning= { image = "File:OOjs UI icon alert image warning.svg", tooltip = "Alert", link = false, }, alert-yellow= { image = "OOjs UI icon alert-yellow.svg", tooltip = "Alert", link = false, }, alert-constructive= { image = "OOjs UI icon alert-constructive.svg", tooltip = "Alert", link = false, }, alert-destructive= { image = "File:OOjs UI icon alert destructive.svg", tooltip = "Alert", link = false, }, alert-blackred= { image = "File:OOjs UI icon alert destructive black-darkred.svg", tooltip = "Alert", link = false, }, alert-warningblack= { image = "File:OOjs UI icon alert-warning-black.svg", tooltip = "Alert", link = false, },
Thanks, microbiologyMarcus (petri dish·growths) 17:59, 8 December 2023 (UTC)
Partly done: I've added only four of these. I don't think we need 11 different variations. I picked the widest variations out of the proposed. SWinxy (talk) 20:43, 17 December 2023 (UTC)
- Makes sense. You got the ones I was looking for, the only reason I added so many was because I thought if I was going through to request one and they're all grouped together, I might as well write it out for all of them. I suppose if anyone wants them in the future, they're welcome to re-open this request. Thanks @SWinxy!
- Cheers, microbiologyMarcus (petri dish·growths) 13:49, 18 December 2023 (UTC)
Barnstars
[edit]![]() | This edit request to Module:Icon/data has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Original_Barnstar_Hires.svg/220px-Original_Barnstar_Hires.svg.png)
Is it possible to get the barnstars added to the template? (last one I promise)
barnstar2= { image = "File:Original Barnstar Hires.svg", tooltip = "Barnstar", link = false, }, barnstar= { image = "Original Barnstar.png", tooltip = "BArnstar", link = false, },
Thanks, microbiologyMarcus (petri dish·growths) 18:07, 8 December 2023 (UTC)
Edit request to complete TfD nomination
[edit]![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Template:Icon has been listed at Templates for discussion (nomination), but it was protected, so it could not be tagged. Please add:
{{subst:tfm|help=off|type=disabled|1=Mop}}
to the top of the page to complete the nomination. Thank you. —a smart kitten[meow] 22:20, 27 February 2024 (UTC)
- Huh, Twinkle submitted this edit request for me. Didn't know that an edit to this template would be needed for proposing that another template is merged into it (I was just planning to drop a note at this talk page); but, then again, I think this is the first TfD I've filed. Best, —a smart kitten[meow] 22:23, 27 February 2024 (UTC)
- If this edit request is done, it might be worth wrapping the tfm notice in
<noinclude></noinclude>
, as the similar notice at {{mop}} seemed to mess with the bullet-points at WP:MWP until I noincluded that one. —a smart kitten[meow] 22:30, 27 February 2024 (UTC)
- If this edit request is done, it might be worth wrapping the tfm notice in
Completed. P.I. Ellsworth , ed. put'er there 22:49, 27 February 2024 (UTC)
Template-protected edit request, May 21, 2024
[edit]![]() | This edit request to Module:Icon has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The relevant lines seem to be 55–58.
doesn't function as intended with images and is causing {{Icon link}} to render improperly. The module should probably be adjusted to output in the format <span class="nowrap">[[File:Example icon]] <span class="wrap">[[Example link]]</span></span>
. (With thanks to Stjn, who helped figure this out.) —TechnoSquirrel69 (sigh) 00:12, 22 May 2024 (UTC)
- Could you make your changes to Module:Icon/sandbox and do some tests? — Martin (MSGJ · talk) 07:15, 22 May 2024 (UTC)
- I'm not seeing the issue? Agree though that this should be sandboxed to show definite before/after behaviour. Primefac (talk) 12:04, 22 May 2024 (UTC)
- I don't know enough about Lua to be able to produce this result in the module sandbox, but I did experiment with the proposed changes in my sandbox. If you change the width of the window, it should demonstrate the issue I'm talking about — proposed changes are on top and {{Icon link}} is below. —TechnoSquirrel69 (sigh) 14:17, 22 May 2024 (UTC)
- I would suggest
<span class="nowrap">[[File:Example icon]] </span>[[Example link]]
to make just the first space non-breaking, not also the space between "example" and "link". (That would just be fixing what the
is presumably intended to do.) I have sandboxed my suggested change, but have not currently tested it (aside from checking that it works here on my phone). - Sandbox version (as of this comment) —
- Current version (as of this comment) —
- SilverLocust 💬 18:29, 22 May 2024 (UTC)
- I'm fine with this change, as it seems to do what I was intending while using fewer
<span>...</span>
tags. —TechnoSquirrel69 (sigh) 18:38, 22 May 2024 (UTC)
- I'm fine with this change, as it seems to do what I was intending while using fewer
- I would suggest
Template-protected edit request on 15 July 2024
[edit]![]() | This edit request to Module:Icon/data has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change "link = false" to "link = true" for draft (line 529). The image is not public domain and requires attribution. hinnk (talk) 23:16, 15 July 2024 (UTC)
Completed. P.I. Ellsworth , ed. put'er there 03:51, 16 July 2024 (UTC)
Template-protected edit request, August 1, 2024
[edit]![]() | This edit request to Module:Icon/data has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
− | ffac = { aliases = {"nofa"}, image = | + | ffac = { aliases = {"nofa"}, image = "Cscr-former.svg", tooltip = "Former featured article candidate", link = true, }, |
− | fflc = { aliases = {"nofl"}, image = "Cscr-former.svg", tooltip = | + | fflc = { aliases = {"nofl"}, image = "Cscr-former.svg", tooltip = "Former featured list candidate", link = true, }, |
The proposed changes are to synchronize this module with the presentation of {{Article history}}. Per this discussion at the FAC talk page, there is consensus to use the former phrasing instead of failed. I'm also proposing to make the icon for former FACs consistent with former FLCs, which also helps distinguish them at a glance from former FAs. Let me know if you have any questions! —TechnoSquirrel69 (sigh) 03:01, 1 August 2024 (UTC)
Done Sohom (talk) 08:33, 5 August 2024 (UTC)