User talk:Untitled7

Elements Navbox Notes
I have done the CSS part of the elements navbox, which is the final part to finish it. Here is a list of components necessary for it:


 * The style sheet for the navbox to be shown correctly on FandomDesktop (it uses to look ok with hydra but I didn't do any optimization with that as the ONI wiki is already default to FandomDesktop):
 * User:DDElephant/fandomdesktop.css


 * The end-use template of it:
 * Template:Elements


 * The Lua script that powers the template:
 * Module:Elements


 * The Navbox module copied from globally available Lua modules (Navbox) (I could just import it on the ZH ONI wiki but it seems that this function is currently broken on GP wikis). I add a few lines in this file to introducing more CSS classes into it. See its history for more details if interested.
 * Module:NavBox


 * The map to convert in-game string code (localization code) to English words:
 * Module:I18n/misc (those starting with STRING.MISC)
 * Module:I18n/elements (those starting with STRING.ELEMENTS)


 * The 4 data files are directly converted from game files located at `OxygenNotIncluded\OxygenNotIncluded_Data\StreamingAssets\elements`. The original YAML files were convered with a chain of only tools to JSON then to Lua.
 * Module:Data/gas
 * Module:Data/liquid
 * Module:Data/solid
 * Module:Data/special


 * Note that I planned to use the i18n module (I18n) to process the string data, but it turned out to have a too deep dependency tree whose all leaves need to be copied. Therefore, the I18n module can be safely deleted (but not for its subpages which stores the string data):
 * Module:I18n

Let me know in the Discord channel if any improvement is need. DDElephant (talk) 08:30, 5 June 2021 (UTC)
 * Topic discussed in the Discord channel. DDElephant (talk) 21:49, 4 July 2021 (UTC)