Module:Sandbox/User:Alsang: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 15:
for _,page in ipairs(results) do
if page.variant=~='Mine Cart Work' then
local result = mw.smw.ask('[['..page.name..' (skill node)]]|?Activity JSON = data')
page.node = page.name
if page.variant=='Mine Cart Work' then
else
result = mw.smw.ask('[['..page.name..']]|?Activity JSON = data')
page.node = page.name .. ' (skill node)'
end
page.JSON = (result and result[1] and result[1].data) or ''
local result = mw.smw.ask('[['..page.namenode..' (skill node)]]|?Activity JSON = data')
if type(page.JSON)=='table' then
page.JSON = table.concat(pageresult and result[1] and result[1].JSON,data) or '<br>')
if type(page.JSON)=='table' then
end
page.JSON = table.concat(page.JSON,'<br>')
end
end
Line 59 ⟶ 61:
:done()
:tag('td')
:wikitext('[['..item.namenode..' (skill node)]]')
:done()
:tag('td')
12,233

edits