Template talk:Item infobox

From Team Fortress Wiki
Jump to: navigation, search
Talk archives
Intel blu idle.png Archive 1

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.
BLU Wiki Cap.png | 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?
BLU Wiki Cap.png | s | GrampaSwood (talk) 13:25, 23 August 2023 (UTC)
Pictogram nope.png 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)
Pictogram plus.png 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. — User ThatHatGuy Signature Icon.png User ThatHatGuy Signature Talk.png User ThatHatGuy Signature Contribs.png 01:33, 29 August 2023 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── 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)