Forum:Update Infobox Skin

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Forums: Yew Grove > Update Infobox Skin
Archive
This page or section is an archive.
Please do not edit the contents of this page.
This thread was archived on 30 June 2021 by Legaia2Pla.

Hello everyone, I would like to propose changes to the current and outdated {{Infobox_Skin}}

With the addition of the Marketplace becoming the new place to purchase cosmetics/skin overrides, the current {{Infobox_Skin}} that is used is outdated. Currently it only includes the "sgs" parameter and setting this to "No" will automatically add the "unpurchaseable cosmetic overrides" category to the bottom of the page. This means that any new cosmetic that is only available in the Marketplace and not Solomon's General Store will be set to Unpurchaseable.

Another big reason for the change is because of the inconsistency with the current use of Infobox Skin, across the pages you will see differences in words used, especially for the slot and weapon type. One page might have "Off Hand" or "Off hand", another will be "offhand", and some are probably something else entirely. What I have done to resolve this is to take the parameters for these and standardise them so that they will be the same across every page that uses the Infobox Skin template. So for example, whether the editor types "offhand", "oh" or "off", it will display "Off-hand" as the slot. This is also something that can be easily changed/edit by anyone if the need arises in the future as entries can be added and removed from the table.

I have created a lua module that aims to replace the current template and should do a better job at handling things like multiple storefronts (sgs/marketplace) as well as the overall consistency between articles using the template.

Here is the Sandbox Module I wrote, as well as my test page. Feel free to check them out and have a look at the changes that I have made. You can also test this on any current cosmetic override by editing the page and replacing the {{Infobox_Skin}} template header with {{User:Z_o_w_o/Template:Infobox_Skin}} and clicking preview.

Any feedback/suggestions/comments or anything else is greatly welcomed and appreciated as this is my first lua module and also my first time working with lua.

Discussion

Support - as nominator Wand of the praesul.pngZairi Erethdor's grimoire.png 05:09, 14 June 2021 (UTC)

Support - Without digging into the lua too much, looks good to me. Glad to have someone new trying infoboxes :) Seers headband 2 chathead.png Elessar2 (talk) 19:13, 14 June 2021 (UTC)

Updated - I have edited the original post to include the issue I had with consistency across Infobox Skin pages. Wand of the praesul.pngZairi Erethdor's grimoire.png 21:29, 14 June 2021 (UTC)

Support - A Elessar has already said, it's nice that someone else is having a go at creating lua infoboxes. Looks good to me. Lava hawk.png BlackHawk (Talk)    13:49, 19 June 2021 (UTC)

Support - Always good to see new lua infoboxes. Ensures me learning for when I import it to PT-BR Wiki. I hope one day to be able to update one too :) . Divination.pngKaradhras msg 21:48, 27 June 2021 (UTC)

Closed - There is consensus to update the infobox as outlined above. --Legaia2Pla · ʟ · 22:58, 30 June 2021 (UTC)