Thread:Catinthedark/@comment-3225604-20170722082846/@comment-26235098-20170723162716

Wildoneshelper wrote: I plan to put the invoke codes into the infoboxes so they can be spread out like a "worm". What is your idea on level page integration? Yes the level infobox would have to invoke the Lua module, but I would not add a direct invocation. I would pass it through a template same was with difficulty. Imamadmad once pointed out to me she liked to keep the Lua layer encapsulsated - i.e. so most editors would only have to deal with template syntax, and template-to-template invocation, nothing more. It means less potential confusion for editors, which is a good thing.

But there is another reason to prefer Lua encapsulation, too: it makes it easier if the Lua API needs to change for whatever reason (say adding a parameter), because we just change the single template that does the invoke. Sometimes multiple templates might need to make the same call, and this means they can all continue to call their template, and the change will be transparent.

IDK do you feel differently about that? Maybe you did not mean that you'd literally add the #invoke to the infobox... lol. Wildoneshelper wrote: FYI, the automation of that template would include adding/removing hexagon levels automatically and tagging the super hard levels automatically too. Yes, at least... my understanding here is that the functions we wrote are to be used for dynamic detection of hexagon & hexagon-superhard levels by the level pages based on the values in Module:Hexagon levels/List, specifically:
 * each level page automatically displays the relevant indicator as a superhard or normal hexagon level, and
 * each level page includes one or both categories as appropriate

In sum, when the value for a given level in Module:Hexagon levels/List is updated, the page display and category inclusions will reflect the change automatically without manual intervention.

However, the values in Module:Hexagon levels/List are to be manually revised by users, or updated by some other mechanism yet to be determined/devised.

Is this correct or am I missing something?

Wildoneshelper wrote: Thanks by the way! NP. I am happy that you wrote to me and that I am able to help with this! :) I am finally in a state where I can start to contribute again, at least a little.  For a long time I was quite overwhelmed with  IRL stuff.  Now, although I work long hours and it is tiring, life overall is more settled. :)