Difference between revisions of "Module:Database/data"
From Cassette Beasts
(Created page with "local s = mw.title.new('Data:Species'):getContent() return mw.text.jsonDecode(s)") |
|||
Line 1: | Line 1: | ||
− | local s = mw.title.new('Data:Species'):getContent() | + | --local s = mw.title.new('Data:Species'):getContent() |
− | return mw.text.jsonDecode(s) | + | --return mw.text.jsonDecode(s) |
+ | return mw.ext.data.get("Data:Species") |
Revision as of 23:13, 20 May 2022
Documentation for this module may be created at Module:Database/data/doc
--local s = mw.title.new('Data:Species'):getContent()
--return mw.text.jsonDecode(s)
return mw.ext.data.get("Data:Species")