Forum:It's growing good, here's the details!
After seeing Blackhawks thread on updating the farming stages, I figured it was time to post my suggestion as well, with an equally fun title!
One day I saw how outdated and clunky the farming infobox was, and I felt the need to update it. I am finally at a point where I am comfortable asking for support on this.
IMPORTANT EDIT: I have spoken with User:Aescopalus and with their permission I can use their layouts that they produced and apply my code to make an even better infobox. With that new information, I highly recommend when posting here to review their comment below and take a look at their layouts in addition to mine. Thank you again for that Aescopalus!
The Infobox[edit source]
To start, I wanted to introduce you to the new infobox.
This module looks much different than the current one in use, and provides an updated look to better match other infoboxes around the wiki.
On top of this, I rewrote the entire module with Module:Infobox ore as reference, so the code is much cleaner and more efficient. This process also removed a lot of unneeded information.
Additional Info[edit source]
On top of the new infobox, I would like to remove duplicate information on pages that have it. What do I mean? If you go to Willow Tree (Farming) and look at the right hand side of the page youll see an infobox about the willow tree. Most of the information in there is already stated in the other infobox on the left. I would like to rectify this and remove all duplicate information.
The purpose of this thread is to get support on implementing this new infobox throughout the wiki. Current scope is all non-POF farming plants such as trees, herbs, bushes, hops, etc. I also would love feedback on the module itself and let me know what changes youd like to see made!
Comments - I definitely agree that this infobox needs a fresh coat of paint, and I like some of the step's you've taken here. I've been toying with a design refresh of it at User:Aescopalus/Sandbox#Magic_Tree for a bit now, and have a couple of comments based on your version:
- Potting vs planting vs checking vs harvesting xp. These are all different types of XP that can occur at an allotment, and I think your current version only showcases checking and general. I actually don't know offhand if curing a disease grants XP as well, but if so, then it should probably also be showcased.
- Staging considerations - the variant that you show is purely focused on a tree, which has four "stages" of growth. Other plants do not have all four levels of distinction. I'd be curious to see what the implementation would look like for one of these types of plants. See User:Aescopalus/Sandbox#Marigold and User:Aescopalus/Sandbox#Marigold v2 for some thoughts that I had.
- Modulization of data - I think it might be more user-friendly to write a dual purpose module rather than house the data centrally. All farming patches (as far as I'm aware) require a seed. If the template was written to have one variant as main data location, and one variant (enacted by the parameter flag) as just displaying a different stage of that defined data on the main page that would make it a bit more accessible to end users while also only storing the data in a single location.
- Chance to save/average yield - this is more general than your overall infobox refresh, but I think a discussion on retaining/implementing this parameter might bear fruit. Currently, while we have the information necessary to calculate average yields based on chance to save from a JMOD, I don't think it's been rolled out to the respective pages, and it's also not static (It's level dependent). Some yields are static (Fruit trees), whereas others (herbs) could in theory be calculated by level by a negative binomial distribution, but this isn't fleshed out in our information. TLDR - should these parameters be optional and only displayed if input, instead of on all pages, given that these haven't necessarilly been fleshed out and aren't straightforward to do so?
Overall, good work thus far!22:24, 16 July 2021 (UTC)
Support - With the changes that Aescopalus has suggested, I think this is going to be great for being able to quickly get the information that you need07:59, 17 July 2021 (UTC).
Support - looks good :) Just in case you hadn't seen - there was a discussion recently about reworking how we do infoboxes generally. It looks this is a proposal to update what we're now calling "databoxes". I believe Elessar and Blackhawk are the main people working on implementing this if you are interested in getting involved. 10:46, 19 July 2021 (UTC)