Module:Sandbox/User:Alsang: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 181: | Line 181: | ||
local result = mw.smw.ask('[['..page.name..' (skill node)]]|?Activity JSON = data') |
local result = mw.smw.ask('[['..page.name..' (skill node)]]|?Activity JSON = data') |
||
page.JSON = (result and result[1] and result[1].data) or '' |
page.JSON = (result and result[1] and result[1].data) or '' |
||
if type(page.JSON)=='table' then |
|||
page.JSON = table.concat(page.JSON,'<br>') |
|||
end |
|||
end |
end |
||