Forum:Clickpic navbox images

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Forums: Yew Grove > Clickpic navbox images
This page or section is an archive.
Please do not edit the contents of this page.
This thread was archived on 17 January 2014 by TyA.

À la AnselaJonla, I'm going to help a redditor put an idea from Cook's feedback thread onto the Yew Grove for discussion.

Ymbirtt was the first to voice complaints about images in navboxes (and elsewhere). And his complaint was echoed by This-Guy (literally This-Guy). Clearly this is something some people want, so it obviously deserves discussion.

What they want is to be able to click an image of an item and have it link to the page. It's a really simple idea, but it's something we've always avoided doing. Why? I'm not exactly sure. The main places we'd be doing this are Navboxes; that's where most of the usages actually are. There's also a plethora of tables that use inventory sprites in one way or another, so they can use it too. {{DropsLine}} already uses it.

There's actually 2 ways we can do this:

  1. Simple |link= param on every image
  2. A clickpic template like {{Skill clickpic}} ({{Inv clickpic}})

Either way works, but we might find the template to be much cleaner. Oh no! The template is too long named. Worry not! For we can have an alias!


Sure why not? MolMan 15:38, December 30, 2013 (UTC)

Oink - Maybe a "view this image" really tiny under/upper the image, so we can update it and not be trapped finding the image name. — Jr Mime (talk) 15:50, December 30, 2013 (UTC)

That seems like it would become messy really quickly. Ancient talisman.png Oil4 Talk 15:54, December 30, 2013 (UTC)
How so? Just get the param of the image and bam, it's there! — Jr Mime (talk) 15:56, December 30, 2013 (UTC)
Probably unnecessary -- you could still figure out the image location by copying the image URL. I don't see how that could work without being extremely distracting, we're already dealing with < 32x32 icons. ʞooɔ 15:57, December 30, 2013 (UTC)
This proposal is for our readers, not us. Very few, if any, readers care about the file page. If you really need to reach it, just go to the item's page and use the link to the image in the item infobox. MolMan 15:58, December 30, 2013 (UTC)
Oh, 32x32 icons, nvm then. I can live with that. Anyway, those icons are generally in the good file name (pagename etc.) — Jr Mime (talk) 16:00, December 30, 2013 (UTC)

Support - I can only see benefits from doing this in Navboxes. (And support for anywhere else where it makes sense too, but navboxes can benefit from this the most, imo). IP83.101.44.209 (talk) 16:07, December 30, 2013 (UTC)

Support - Fairly sure we used to link already, but stopped doing so for some reason. User_talk:Fswe1 Fswe1 Brassica Prime symbol.png 16:20, December 30, 2013 (UTC)

Comment - Can the supporters also discuss the method for how we'll do this? I'd personally prefer the template. MolMan 16:34, December 30, 2013 (UTC)

I'd say using option 1: some images in the navboxes are not item images (chatheads, ...), which might make a standardised template a bit overly complex (when the other option is simply adding "|link="). And sometimes the image names are not the same as the page you actually want to link to, which'd make a template no shorter than a normal File inclusion (e.g. showing the image for 5 acorns, but still link to the normal Acorn page, instead of "Acorn 5"). IP83.101.44.209 (talk) 17:06, December 30, 2013 (UTC)
The template wouldn't go everywhere. It'd just be to make 90%+ of the image linking cleaner in the source. We can not use it when it doesn't make sense. MolMan 02:16, December 31, 2013 (UTC)

Comment - option 1 would be my preferred one, although it would be a bit insane on pages like Template:Sof. Small recharge gem.png AnselaJonla Slayer-icon.png 16:40, December 30, 2013 (UTC)

Would this not be automatable with a bit of Python or something? Ymbirtt (talk) 21:00, December 30, 2013 (UTC)
I do plan to automate these links if this closes as successful, but Ansela's point is more that the source code for that template would become rather ugly. MolMan 21:02, December 30, 2013 (UTC)
would become rather even more ugly. FTFY. Small recharge gem.png AnselaJonla Slayer-icon.png 23:43, December 30, 2013 (UTC)

Please not on every image - I only support links on images that don't have a link to the page next to them (that pretty much gets rid of every navbox template). I'm talking about pages like Scimitar or Dagger, which has a bunch of inventory icons together with no link to the respective page. I really don't see why you need a link on an image when the link is right next to it. HaidroH rune.pngEagle feather 3.pngCandle (blood red).png 1XqyDNM.png Crystal triskelion fragment 3.pngHazelmere's signet ring.png 02:09, December 31, 2013 (UTC)

This is something readers want, so I think any argument of how practical this is (by the way, it isn't impractical - I can very easily bot this) should be taken with a grain of salt. MolMan 02:16, December 31, 2013 (UTC)
I suspect that very few users actually want to go to the image page for an inventory icon. The text is generally quite small relative to the image, so it makes little sense for a large portion of clickable area to go to somewhere the user does not want to go. Ymbirtt (talk) 13:03, December 31, 2013 (UTC)
Furthermore, the linked article will most likely have the image contained upon it, so navigation to the image page is still somewhat viable. --Henneyj 17:24, January 16, 2014 (UTC)

Support 2 - It sounds nice. I never really noticed that you couldn't click the icons next to the links, but now that someone has pointed it out, it is kinda annoying and it makes sense for it to work. svco4bY.png3Gf5N2F.png 05:26, January 3, 2014 (UTC)

Closed - Images in navboxes will be able to be linked to the page that they are representing. The preferred method shown on this thread is to use |link=. svco4bY.png3Gf5N2F.png 21:05, January 17, 2014 (UTC)