Forum:Centralize spirit battles
Spirit Battle tables in their current state are a little... messy. If a user feels that it is necessary to make an edit to a battle entry, they will need to hunt down every usage of that battle entry. Here's a hypothetical: I want to make an edit to the 'Hungry Luma' spirit battle (wrong type, song, whatever). Easy, I go to the list of Super Mario spirits and change it. Done? Nope. Now I go to Rosalina's page, edit, go to Kirby's page, edit, and now I'm hopefully done. A recent headache came from Cuphead's spirit battle where it changes if you have DLC, now the edit needs to be made on Ready?_Wallop!, Peach_(SSBU), Mega_Man_(SSBU), Mii_Gunner_(SSBU), and List_of_spirits_(Others). This will only grow as we have about two more years of content coming.
I think we should move the battles into a large template so that we can make an edit in one place, and if we want to add a battle to a table we just say "give me the entry for spirit number x". I'm not too familiar with how templates work, however I imagine it will be similar to Template:SSB4_to_SSBU_changelist where it is a switch condition. Inspirations can be omitted from the template and added as a cell on the table. The only thing I don't know how to do is making the fighter's name bold on their pages like the navbox.
Along with making edits easier it should allow for adding hidden data easy--such as hidden conditions, stats, and modifiers--if we get our hands on them. A similar thing could also be done for Fighter Battles, where if we decide one format is better we can change it in one place instead of 80+ pages. --CanvasK (talk) 18:20, February 18, 2020 (EST)
Support
- Support--CanvasK (talk) 18:20, February 18, 2020 (EST)
- Support. Spirit Battles are gonna keep happening and the more they do, the more pages that have to be made. It's gonna definitely bloat the wiki. I do not believe a list of Conquest battles were ever made though, so is it even necessary? If we do keep these as a list, I feel going through Conquest results and uploading them to a list would be necessary. --Plague von Karma 23:19, February 29, 2020 (EST)
Oppose
Neutral
Comments
I've done some research and have made a mock-up of what I was thinking (below). It is based around the rows that are currently used for spirit battles with the only changes being the image size and how numbers are displayed, but that can easily be changed. There are 2 parts: SpiritBattleRow and SpiritBattleTable. SpiritBattleRow is used to construct the rows with quite a few parameters. SpiritBattleTable has 2 parameters: number, which controls the switch function (currently only a few spirits are programmed); and seriesoff, which removes the 'series' cell if it is filled, which will make it look like the rows on the "List of Spirits (___ Series)".
104 | Geno | 13700 | Mario Galaxy |
|
Rainbow Road Medley |
Currently it isn't able to handle spirits like Cuphead where they are different if you have DLC. But I do have a WIP design that incorporates it into SpiritBattleRow, but I'm thinking a separate SpiritBattleRowDLC would be cleaner. --CanvasK (talk) 17:03, March 20, 2020 (EDT)