Anonymous

Module:GameData/doc: Difference between revisions

From Melvor Idle
Use SyntaxHighlight
(Update code for localization & various other bits)
(Use SyntaxHighlight)
Line 7: Line 7:
# Copy the game data & update [[Module:GameData/data]] accordingly
# Copy the game data & update [[Module:GameData/data]] accordingly


{{SpoilerBox|color=default|title=Code|text=<pre>// TODO:
{{SpoilerBox|color=default|title=Code|text=<syntaxhighlight lang="javascript" line>// TODO:
// Handle modifications portion of data packages
// Handle modifications portion of data packages
class Wiki {
class Wiki {
Line 1,021: Line 1,021:


let wd = new Wiki;
let wd = new Wiki;
wd.printWikiData();</pre>}}
wd.printWikiData();</syntaxhighlight>}}