Talk:Suggestion/@comment-25683568-20150227195108/@comment-25683568-20150310074642

Hey Dragonjet,

the easiest way to figure out what's wrong is to actually save a page with the script error. Here I saved it to Sandbox/ShipInfoKai/DD.

You can then click on the script error and it shows you a traceback. The traceback shows that it's trying to load the module Module:Akatsuki Kai from Module:ShipClass.

Your problem was that Akatsuki["Kai"]._class = "Akatsuki Kai". It should just be "Akatsuki".

BTW: don't forget to create /doc subpages; they're pretty simple, just a template call, see Template:ShipDataDocumentation and Template:EquipmentDataDocumentation.

BTW2: Template:ShipInfoKai will probably still fail because the 10cm HA doesn't have a data module yet. If you do create it, would you mind naming it "10cm Twin High-angle Gun Mount"? I'm going to add a suggestion later on about the re-naming I've been doing with the modules (lots of inconsistency and incorrect translations). If you can't don't worry, I can fix it up later (re-directs are still possible with lua modules, both manually and mediawiki style.)