Hi All,
I've been working on some automation of the character infobox so that it adds categories based on your inputs.
Automation | |
Section | Changes |
Status | Adds to the Alive or Deceased categories |
Gender | Adds to the Male, Female or Unknown (it also adds the corresponding gender symbol to the infobox) categories |
Race | Adds to the Human, Monstrous Beast or Ancient Era categories |
Bloodline | Adds to the corresponding bloodline category |
Galaxy | Adds to the corresponding galaxy category |
Spirit Power | Adds to the World Spiritist category if this input if filled |
I finished editing last week but it messed up literally every page on the wiki, so I undid the edit and left it till today. Turns out I had forgotten the curly brackets "}}" at the end of each section, adding that fixed the problem and it now works fine (I think).
If anyone here wants to check over to code and make sure its fine/make improvements you're more than welcome to. However please make sure you really, really, REALLY know what you're doing because it can mess up the whole wiki, like what happened with me.
EDIT: Everything works fine now, managed to fix the issues with the bloodlines and galaxies sections not properly assigning categories!
I'm going to get this working for the infobox location and infobox organisation templates too.
Cheers guys,
RinsibleOne62 (talk) 06:19, September 17, 2020 (UTC)