Template talk:Icon

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

POTD support[edit]

Change

	vital = {
		image = "Círculos_Concéntricos.svg",
		tooltip = "Vital article",
		link = false,
	},

to

	vital = {
		image = "Círculos_Concéntricos.svg",
		tooltip = "Vital article",
		link = false,
	},
	potd  = {
		image = "Wikipedia-logo.svg",
		tooltip = "Picture of the Day",
		link = true,
	},

This will add a Picture of the Day icon matching the TFA/TFL icons. Headbomb {t · c · p · b} 16:25, 12 June 2022 (UTC)[reply]

To editor Headbomb: curious as to why the double-double quotation marks in the image line? Is that correct or just a key bounce? P.I. Ellsworth , ed. put'r there 18:03, 14 June 2022 (UTC)[reply]
@Paine Ellsworth: fixed. Likely from an over-enthusiatic text editor that likes to insert double quotes when you type on (same for brackets, etc...). Headbomb {t · c · p · b} 18:55, 14 June 2022 (UTC)[reply]
Okay then and  done. P.I. Ellsworth , ed. put'r there 20:48, 14 June 2022 (UTC)[reply]

Request to add 'Current event' clock as an icon[edit]

Hi, could we add an icon for File:Current event clock.svg, or something similar? (Maybe titled {{icon|current event}} or {{icon|current}}?) This would be useful to denote current events that are not news events (not "itn", in the news) – that globe/clock icon also seems too small to be clear in some situations.

I can't see a way to display the clock in a template without posting the file directly. Sorry if I'm missing something.

The clock file is already used in Template:Infobox recurring event, World Athletics Championships, NBA Finals, Biathlon World Cup and some others. If an icon is possible, I'm intending to add that icon to the NFL and Major League Baseball navigation boxes, which have their current season listed, but no icon as it isn't technically feasible.
Thanks, Demokra (talk) 20:43, 26 June 2022 (UTC)[reply]

Have made a sandbox edit, with the name "icon|currentevent", here - hope that's right to do. Demokra (talk) 00:30, 27 June 2022 (UTC)[reply]
Is there a need for this? Current events are transient things. Where would this be used? Headbomb {t · c · p · b} 23:39, 27 June 2022 (UTC)[reply]

4A[edit]

Writing {{icon|4A}} displays , the DYK icon, even though it should logically display the Four Award one (). Can someone please fix this? Nehme1499 14:25, 6 August 2022 (UTC)[reply]

Also, when clicking on the icon itself: some redirect to the commons file page, while others don't. Is this intentional? Nehme1499 14:46, 20 August 2022 (UTC)[reply]
 Done The first change. The second thing is deliberate, see Module:Icon/data/doc#Fields * Pppery * it has begun... 19:46, 20 August 2022 (UTC)[reply]

pen icon using .png file when .svg version exists[edit]

The portal peer review and peer review icons ( , ) have links going to a .png version of the file, even though a .svg version exists. Unless there's something I'm missing, I think these icons should link to the .svg version instead. Neuroxic (talk) 15:16, 17 September 2022 (UTC)[reply]

Icon for phabricator[edit]

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)[reply]

nudge — GhostInTheMachine talk to me 16:47, 1 December 2022 (UTC)[reply]
 Completed
  • {{icon|mediawiki}}
  • {{icon|phabricator}}
  • {{icon|wikitech}}
P.I. Ellsworth , ed. put'r there 06:39, 2 December 2022 (UTC)[reply]

Template-protected edit request on 28 October 2023—add Draft class icon[edit]

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)[reply]

Please link to the discussion about this change. – Jonesey95 (talk) 21:51, 28 October 2023 (UTC)[reply]
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)[reply]
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)[reply]
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)[reply]
 Done Non-controversial. SWinxy (talk) 20:21, 2 November 2023 (UTC)[reply]

Information icon[edit]

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 dishgrowths) 20:50, 6 November 2023 (UTC)[reply]

 DoneMr. Stradivarius ♪ talk ♪ 14:04, 10 November 2023 (UTC)[reply]

Discussion notification icon[edit]

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)[reply]

 Done SWinxy (talk) 20:39, 17 December 2023 (UTC)[reply]

Multiple alert icons[edit]

example of yellow icon

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)[reply]

 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)[reply]
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)[reply]

Barnstars[edit]

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)[reply]

 Done SWinxy (talk) 20:43, 17 December 2023 (UTC)[reply]

Edit request to complete TfD nomination[edit]

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)[reply]

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)[reply]
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)[reply]
 Completed. P.I. Ellsworth , ed. put'er there 22:49, 27 February 2024 (UTC)[reply]