Module:Data/Model

-- This models all the data pages, in how they declare, store, query and render return { nodes = { MasterParam = { nodes = { Unit = { model = { Unit = require("Module:Data/Model/Unit") },       },        JobSet = { model = { JobSet = require("Module:Data/Model/JobSet") },       },        Job = { model = { Job = require("Module:Data/Model/Job") },       },        JobGroup = { model = { JobGroup = require("Module:Data/Model/JobGroup") },       },        UnitGroup = { model = { UnitGroup = require("Module:Data/Model/UnitGroup") },       },        Ability = { model = { Ability = require("Module:Data/Model/Ability") },       },        Skill = { model = { Skill = require("Module:Data/Model/Skill") },       },        Buff = { model = { Buff = require("Module:Data/Model/Buff") },       },        Cond = { model = { Conditions = require("Module:Data/Model/Cond") },       },        Artifact = { model = { Artifact = require("Module:Data/Model/Artifact") },       },        ConceptCard = { model = { ConceptCard = require("Module:Data/Model/ConceptCard") },       },        ConceptCardGroup = { model = { ConceptCardGroup = require("Module:Data/Model/ConceptCardGroup") },       },        CustomTarget = { model = { CustomTarget = require("Module:Data/Model/CustomTarget") },       },        ConceptCardConditions = { model = { ConceptCardConditions = require("Module:Data/Model/ConceptCardConditions") },       },        Item = { model = { Item = require("Module:Data/Model/Item") },       },        Recipe = { model = { Recipe = require("Module:Data/Model/Recipe") },       },        AI = { model = { AI = require("Module:Data/Model/AI") },       },      },    },  }, } --          nodes = function(k) return ({ --            Unit = { --              test = "blah", --            }, --          })[k] end,