Thread:がか/@comment-27569068-20170320052009/@comment-27569068-20170320205553

Thank you for the detailed response. I have a better understanding of how this works here and there, although I will need to study it more closely later. All the indirection is tough to swallow. For now, I'll definitely start with something simpler.

The Lua tables being in each character's own module is good news to me because I'd like to do the same thing rather than having all character data in a massive list. I see how it's done here with the [Edit] link on the Infobox pointing to the module. There's some concerns I have though.
 * 1) FKG has ~340 characters and this grows by 4 characters minimum every other week. It'd be easy to add all 4 at once to a big table, but it would be awful for editors to update. By contrast, if I chose to make a data module for each character, I'd have to make over 340 modules for existing characters and an extra 4 every half-month... Is it possible to automate this? For the record, I can imagine the flow of translating the Template data already on those pages programmatically: Scrape the List of Characters, download individual pages using  -> translate to a Lua table -> upload to Wikia on the individual's module page. It's the last step that I have no idea how to do.
 * 2) If I had a module for every character, I worry about how much of an impact that would have if I loaded every module for every character. I can make a list of all character IDs and then require each of their modules. Is requiring (or at least building the lists for each of them) an expensive operation or should I not worry about that?