Difference between revisions of "Module:Database/data"

From Cassette Beasts
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")
+
return mw.ext.data.get("Data:Species")

Revision as of 23:23, 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")