Template talk:Item infobox
| Talk archives | |
| Archive 1 | |
Contents
Craftable tag
There seems to be quite some confusion around the "Craftable" tag, I propose we change it to "Usable in<br> Crafting". Although this may not work in all languages.
| s | GrampaSwood (talk) 12:14, 23 August 2023 (UTC)
- Nope. That's what the tooltip is for + that's how the game labels this attribute. — Tark 12:50, 23 August 2023 (UTC)
- On the item it says "not usable in crafting", which I think is a lot easier to understand than "Craftable" (especially because several people have been confused by this term). It's also not immediately obvious that there is a toolip, especially because it's kinda blocked by the link underline. Tooltips also aren't viewable on mobile, and this is the only term that requires it (besides the "craft no.", but that could be changed to "craftable" in that case). Maybe change how the tooltip is done instead?
| s | GrampaSwood (talk) 13:25, 23 August 2023 (UTC)
Nope It would honestly appear less harmonic and look slightly out of place compared to the other labels. I think a better compromise would be is to change the tooltip style, as you mentioned. I've thought about making a custom tooltip component (which should also fix the mobile issue) for a while now, so maybe now's the time to get down to it. Perhaps add in an icon prefix exclusive for infobox labels to better highlight it as an interactive element. — Wookipan (talk | contribs) 21:10, 23 August 2023 (UTC)
- On the item it says "not usable in crafting", which I think is a lot easier to understand than "Craftable" (especially because several people have been confused by this term). It's also not immediately obvious that there is a toolip, especially because it's kinda blocked by the link underline. Tooltips also aren't viewable on mobile, and this is the only term that requires it (besides the "craft no.", but that could be changed to "craftable" in that case). Maybe change how the tooltip is done instead?
Agree with GrampaSwood. - BrazilianNut (talk) 13:33, 23 August 2023 (UTC)
- I agree with Wookipan's suggestion of modifying how tooltips display to fix the issue. I do agree that confusion regarding this vs the availability designation of "craft" could be argued for, and I think Wookipan's solution is the way to go about it. I have my own gripes with the "craft number" variable on the infobox, since it was briefly mentioned, as none of the cosmetics in the last ten years have actually been craftable to have them; but that's a different complaint. —
01:33, 29 August 2023 (UTC)
- I agree with Wookipan's suggestion of modifying how tooltips display to fix the issue. I do agree that confusion regarding this vs the availability designation of "craft" could be argued for, and I think Wookipan's solution is the way to go about it. I have my own gripes with the "craft number" variable on the infobox, since it was briefly mentioned, as none of the cosmetics in the last ten years have actually been craftable to have them; but that's a different complaint. —
Heya folks, as I mentioned earlier in this discussion, I've been working on a custom tooltip component. You may test it out here User:Wookipan/Sandbox. It works on mobile, too, and I've made sure that tooltips with links in them become unclickable on mobile devices, which instead adds a little link icon (with the link) inside of the tooltip's contents, as mobile users can't exactly "hover" over elements in the same way as with using a mouse and would instead be directed to the page. Note: if it does not work, try refreshing the page a few times until everything seems to work properly (this is due to cache issues because of how the code is executed on userpages).
I've also added icons for the item infobox labels.
Please leave any feedback here. Thanks. — Wookipan (talk | contribs) 21:00, 5 September 2023 (UTC)
- I think we can just move the "craftable" tag to the bottom, nexto to craft number, and rename it to "crafting". Thus, the harmony won't break and it won't confuse users anymore. This issue has been confusing me for a long time and Valve changed it in this patch from 2010. · Ashe (talk) 23:05, 26 December 2023 (UTC)
- I like Wookipan's model; however, if the problem is tooltips not working with links on mobile, then there needs to be a way to not make the i symbols be links (because, currently, it seems they are). - BrazilianNut (talk) 03:53, 27 December 2023 (UTC)
- The info symbols are part of the links themselves, and as mentioned, I've taken this into account and designed it to disable the links on mobile devices (or smaller screen sizes) to prevent the user from being directed to the page. Could you tell me which browser and device you've encountered this on?
- On a different note; due to some internal errors with the Wiki, I won't be able to properly implement this anytime soon. I am working on a solution/workaround, however in the meantime I wouldn't mind just moving the order of things as Ashe suggested, if it can help clear up the confusion. — Wookipan (talk | contribs) 22:18, 20 January 2024 (UTC)
Request for /fr
This is a small visual request, punctuation in French puts a space before a double point :. If someone could push that exception/override, it would be appreciated, so I know how to do it in the future since the field in question is a little visually complex to digest, which made me want to edit the common string instead, but that's not ideal.
Field in question: Equip region: Luno 🪐🌕 Talk / Contrib. / Team 15:46, 27 September 2024 (UTC)
Add kill icon support for action items
Currently, only weapons and taunts can have kill icons, however the Grappling Hook and all the spellbooks (Spellbook Magazine, Fancy Spellbook, and Fireproof Secret Diary) can be used to attack and potentially kill enemies, prompting a notification in the kill feed with a kill icon (with the spellbooks having several, unique icons). - BrazilianNut (talk) 20:35, 21 August 2025 (UTC)
Item name and article display title
The item infobox automatically sets the item's name as the page's display title. Although the documentation states title, name-override, and item-name-override function "in the exact same way" as name, it seems that that's not entirely true, as I was able to make the infobox and the page have different titles in Meet the Medic (taunt) by changing name to title (which also happens in Mercenary Park (cosmetic item)). This, however, does not work for translations; the item's name is still set as the page's title and adding {{DISPLAYTITLE}} produces a red error message, meaning the differentiator in parenthesis ("taunt", "cosmetic item") is lost on them and cannot be restored.
It would be nice if there was an option to make it so the item infobox does not set the article's title in translations, so we can have [[Meet the Medic (taunt)/es]] be titled Conoce al Medic (burla), [[Mercenary Park (cosmetic item)/fr]] be titled Mercenary Park (objet cosmétique) and so on. – BrazilianNut (Talk) 06:55, 12 October 2025 (UTC)