Template talk:Icon

{{Permanently protected}}

{{Talk header}}

{{User:MiszaBot/config

| algo=old(365d)

| archive=Template talk:Icon/Archive %(counter)d

| counter=2

| maxarchivesize=75K

| archiveheader={{Automatic archive navigator}}

| minthreadsleft=10

| minthreadstoarchive=2

}}

Edit request to complete TfD nomination

{{Edit protected|Template:Icon|answered=yes}}

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 , as the similar notice at {{t|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)

:::{{complete2}}. P.I. Ellsworth , ed. put'er there 22:49, 27 February 2024 (UTC)

Template-protected edit request, May 21, 2024

{{TPER|Module:Icon|answered=yes}}

The relevant lines seem to be 55–58.   doesn't function as intended with images and is causing {{tl|Icon link}} to render improperly. The module should probably be adjusted to output in the format File:Example icon Example link. (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 {{tl|Icon link}} is below. TechnoSquirrel69 (sigh) 14:17, 22 May 2024 (UTC)

:::I would suggest File:Example icon 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) —

::::File:Symbol question.svg Example link File:Symbol question.svg Example link File:Symbol question.svg Example link File:Symbol question.svg Example link File:Symbol question.svg Example link File:Symbol question.svg Example link File:Symbol question.svg Example link

:::Current version (as of this comment) —

::::File:Symbol question.svg Example link File:Symbol question.svg Example link File:Symbol question.svg Example link File:Symbol question.svg Example link File:Symbol question.svg Example link File:Symbol question.svg Example link File:Symbol question.svg Example link

:::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 {{tag|span}} tags. TechnoSquirrel69 (sigh) 18:38, 22 May 2024 (UTC)

:::::{{done}}. SilverLocust 💬 20:01, 22 May 2024 (UTC)

Template-protected edit request on 15 July 2024

{{edit template-protected|Module:Icon/data|answered=yes}}

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)

:{{complete2}}. P.I. Ellsworth , ed. put'er there 03:51, 16 July 2024 (UTC)

Template-protected edit request, August 1, 2024

{{edit template-protected|Module:Icon/data|answered=yes}}

{{textdiff|1=ffac = { aliases = {"nofa"}, image = "Featured article star - cross.svg", tooltip = "Failed featured article candidate", link = true, },|2=ffac = { aliases = {"nofa"}, image = "Cscr-former.svg", tooltip = "Former featured article candidate", link = true, },}}

{{textdiff|1=fflc = { aliases = {"nofl"}, image = "Cscr-former.svg", tooltip = "Failed featured list candidate", link = true, },|2=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 {{tl|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)

Template-protected edit request on 25 August 2024

{{edit template-protected|Module:Icon/data|answered=yes}}

Please change "link = false" to "link = true" for both mediawiki (line 482) and wikitech (line 493). The MediaWiki logo and Wikitech logo images are not public domain and require attribution. hinnk (talk) 20:36, 25 August 2024 (UTC)

:{{done}} Sohom (talk) 03:53, 4 September 2024 (UTC)

Edit request for [[Module:Icon/data]] 17 September 2024

{{edit template-protected|answered=yes}}

Description of suggested change: Use SVG for more images: Cscr-star piece.pngCscr-star piece.svg and Nuvola apps kedit.pngNuvola apps kedit.svg. {{Diff||1246136757|1243928238|Specific proposed edits in sandbox.|diffonly=yes}} —CalendulaAsteraceae (talkcontribs) 03:31, 17 September 2024 (UTC)

:I don't believe this should be accepted. From WP:FA:

:{{tq2|the wiki software converts to a PNG of inferior quality}}

:I also believe their mass edits should all be reverted. ZZZ'S 03:40, 17 September 2024 (UTC)

::It really does, the generated pngs have no aliasing for some reason. --PresN 03:43, 17 September 2024 (UTC)

:::Ah, I see this issue has been discussed at {{phab|T40010}}.

:::{{tq2|In a recent discussion in WikiProject Mathematics yet another rendering bug was encountered. Several users expressed the sentiment that SVG support in MediaWiki will never get fixed, and it is better to give up on them altogether and revert to PNGs. This is specially frustrating because the browsers can render the SVG correctly, but MediaWiki insists on passing it through librsvg and serving the resulting garbage instead.}} —CalendulaAsteraceae (talkcontribs) 16:07, 17 September 2024 (UTC)

:File:Red information icon with gradient background.svg Not done for now: please establish a consensus for this alteration before using the {{Tlx|Edit template-protected}} template. --Ahecht (TALK
PAGE
)
17:53, 17 September 2024 (UTC)

Edit request 20 September 2024

{{edit template-protected|Module:Icon/data|answered=yes}}

Description of suggested change: Please enable link for admin (line 79). :File:Wikipedia Administrator.svg is not public domain and requires attribution.

Diff:

{{TextDiff|1=link = false|2=link = true}} hinnk (talk) 07:53, 20 September 2024 (UTC)

:{{done}} --Ahecht (TALK
PAGE
)
00:11, 22 September 2024 (UTC)

Edit request 5 October 2024

{{edit template-protected|answered=yes}}

Description of suggested change:

thumb

Could we please add this icon for User-Class pages to the icon codes table?

user = {

image = "Symbol user class.svg",

tooltip = "User-Class article",

link = false,

},

Soulbust (talk) 14:34, 5 October 2024 (UTC)

:"User-Class article" does not make sense to me. User pages are not articles. Is there a discussion that led to this request? Please give an example of a couple of pages that this icon would be used on, and how it would be invoked. – Jonesey95 (talk) 16:28, 5 October 2024 (UTC)

::@Jonesey95 See :Category:User-Class articles (and Wikipedia:Content assessment#Non-mainspace content). --Ahecht (TALK
PAGE
)
00:15, 8 October 2024 (UTC)

:File:Red information icon with gradient background.svg Not done for now: please establish a consensus for this alteration before using the {{Tlx|Edit template-protected}} template. {{ping|Soulbust}} Once consensus is established, feel free to re-activate this edit request by changing it to {{para|answered|no}}. --Ahecht (TALK
PAGE
)
17:10, 7 October 2024 (UTC)

::@Ahecht Uh wouldn't really know where other than this template talk to ask for a discussion on this. Doesn't seem all that controversial and akin to the previous Draft icon and Barnstars icon requests. At least I made this request with the precedent of those previous requests in mind. Soulbust (talk) 23:03, 7 October 2024 (UTC)

:::@Soulbust This discussion is fine, but there needs to be consensus established before you use the {{tl|Edit template-protected}} template, and as {{noping|Jonesey95}} has lodged an objection, this isn't a non-controversial change so the conversation needs to run its course first. --Ahecht (TALK
PAGE
)
00:14, 8 October 2024 (UTC)

::::OK, I see. That is a very broken naming system, but fixing it is not a topic for this page. The idea that Template talk:Analytic philosophy would be tagged with {{cl|Template-Class Philosophy articles}} instead of {{cl|Template-Class Philosophy pages}} is silly, but I see why it happens; nobody cares enough to fix it. I have implemented this change. Please ping me if it doesn't work. – Jonesey95 (talk) 00:31, 8 October 2024 (UTC)

:::::Hi yes, I thought the same thing actually when typing out my initial request. But I noticed how all the "-Class" categories followed that format using "articles". I agree, if it's a Template-Class or User-Class, it should probably be "pages" instead of "articles". Soulbust (talk) 11:21, 8 October 2024 (UTC)

Template-protected edit request on 5 February 2025

{{edit template-protected|Module:Icon|answered=yes}}

Can this be improved, such that:

  • Call: {{icon|Dialog-information.svg}}
  • Expected response: 14px
  • Current response: {{#invoke:Icon|main}}

Is there any way the module could be adapted that if the icon specified not be in the list that it be looked up as a File: and then the same process be given to it. This would make adding icons inline in non-article space text much easier with the use of this template than having to manually add the markup File:Dialog-information.svg ★ (talk) 21:11, 5 February 2025 (UTC)

:{{Not done}}: please make your requested changes to the template's sandbox first; see WP:TESTCASES. — Martin (MSGJ · talk) 12:45, 7 February 2025 (UTC)

FGAN icon

Someone watches this talk page, right? Can we change the alt text for the FGAN icon from "Failed Good Article Nominee" to "Former Good Article Nominee", for parity with Template:Article history and to make it sound a little less harsh? Cheers, MediaKyle (talk) 23:34, 27 April 2025 (UTC)