Template talk:WeaponInfo
From SpiralKnights
Adding categories
Unless there is an objection to it, I'm planning on having this infobox add categories and am willing to edit all the pages using it to add the appropriate variable. Is there any other change that's desired for this infobox that would require adding new variables? If so, I'll postpone doing the category variable adding until I have a full list of things that should be added during the editing frenzy. (Plan summary: Will add the variable(s) to the pages first, then edit the template to use them) --Equinox 06:04, 2 January 2011 (UTC)
- Just adding a note that I'll do the same for ArmorInfo. --Equinox 06:11, 2 January 2011 (UTC)
That's an amazing task to do, given the number of poorly categorized or hard-to-find weapons pages. I'm impressed! (and humbled) One suggestion: Shango was working on a new and improved weapons/armor template a while back, which would include stat bars as displayed in game. It might be a good idea to check the status of that before committing to a new design using the older template. --Pauling 07:37, 2 January 2011 (UTC)
- That sounds exciting. I left a note for him to see next time he hops on the wiki, so we should hopefully hear from him about it. I'll probably also do some other various cleaning tasks when I do those edits as well (like the MK/Mk thing), so I will wait until there's some sort of consensus in the various discussions. Possibly I could also do a bit of the boilerplate implementing too, but I'd like to keep it to quicker tasks so that I can get the "conversion" done quickly. If you can think of other minor changes that are needed for those pages, I can add them to my list. --Equinox 14:45, 2 January 2011 (UTC)
- Yes, I was working on a series of templates to generate stat bars from number parameters. The highest-level one is the EquipmentInfo which I intend to replace the WeaponInfo and ArmorInfo templates. This would use the subtemplate SKWindow/StatsWrapper to display the StatsBox template (soon to replace the overly specific and prematurely named AttackPower template). The reason for this was to allow the StatsBox template to display on its own outside of an SKWindow. StatsBox would automatically show/hide corresponding StatBars depending on parameters given. You can see what it would look like at the bottom of my user page.
- I can easily make the EquipmentInfo template auto-categorize pages. Should I just have a parameter for type (sword/handgun/armor)? I could add switch logic to that and have it add the more general categories as well. --Shango 02:43, 3 January 2011 (UTC)