Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Spell: Difference between revisions

From Kronopolis and the Flat Plane
Created page with "local p = {} function getDomainList(domain) local data = mw.loadJsonData(domain) end return p"
 
No edit summary
Line 2: Line 2:


function getDomainList(domain)
function getDomainList(domain)
     local data = mw.loadJsonData(domain)
    local directory = 'Json/Spell/Domain/'
     local data = mw.loadJsonData(directory + domain)
end
end


return p
return p

Revision as of 14:17, 23 February 2023

Usage

  • {{#invoke:spell|list|domain=}}
  • {{#invoke:spell|list|category=}}

local p = {}

function getDomainList(domain)
    local directory = 'Json/Spell/Domain/'
    local data = mw.loadJsonData(directory + domain)
end

return p
Contents