• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Template:ShipDataDocumentation/ShipData

From Kancolle Wiki
< Template:ShipDataDocumentation
Revision as of 03:45, 2 March 2015 by >Ckwng
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Ship Data Format

This module should return a table.

If the module contains ship forms, the returned table should contain other tables for each form of the ship. The table for the basic form should be under the key "", or the empty string. Remodels should be under the suffix of that remodel, like "Kai" or "Kai Ni".

For example,
local Ooyodo = {
    [""] = {
        ...
    },
    ["Kai"] = {
        ...
    },
}

return Ooyodo

If the module contains a ship class, the returned table should contain contain a table under the key class.

local Ooyodo = {
    class = {
        ...
    },
}

return Ooyodo