Board Thread:Support Requests - Getting Technical/@comment-4189499-20150223091515/@comment-4189499-20150223124122

That sounds brilliant!

On the types of levels, there are the two types, reality and dreamworld, with the dreamworld levels being distinguished from the reality levels by the " " at the end of the titles (making those pages subpages of the reality equivalents, eg Level 1 and Level 1/Dreamworld). As the original template is primarily called based on page name, allowing the template to be placed in the infobox's template code and removing any difficulty changes from the page itself, it means that it would probably be difficult to use separate templates to present the information as the infobox is the same for both level types for simplicity's sake. However, if the tables for both level types were stored in separate modules and called by another depending on whether they match the page title pattern of reality or dreamworld levels (for example a regex expression such as " " could determine if the parameter is representing a dreamworld page), it could allow the template calling the data to be the same but the modules holding the data could be separated so that each is smaller. Does that seem like a solution to the problem?

On the subject of abbreviating the letters, that should be fine for the data storing modules themselves, but I think it would be better if the full names were written out when the template was called. The colours are used slightly differently depending on what they're needed for, so it's best to send the results from the difficulty level template through a more customised template for a purpose if a colour is needed.

Thanks for your help. My own Lua knowledge is poor, but if you could help me get all the needed modules set up, I can do most of the filling in of the data. Thanks again!