Module:Sandbox/User:Alsang: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 19:
function p.makeTable(args)
local variants = {'
local variants2 = {'Basic','Moderate','Fine','Strong','Superior','Perfect'}
local weaponsStone = {
'Hammerfist',
Line 81 ⟶ 82:
local allWeapons = {}
for j,
table.insert(allWeapons,{
end
for i,
for j,
table.insert(allWeapons,{
end
end
for i,item in ipairs(allWeapons) do
local query = mw.smw.ask(item.
if type(query)=='table' then
item.
end
local query = mw.smw.ask(item.
if type(query)=='table' then
item.
end
Line 118 ⟶ 110:
:tag('tr')
:tag('th')
:wikitext('Name of page
:done()
:tag('th')
:wikitext('Item on page
:done()
:tag('th')
:wikitext('Recipe Facility
:done()
:tag('th')
:wikitext('
:wikitext('Item on page (prefix)')▼
:done()
:done()
Line 140 ⟶ 126:
local row = out:tag('tr')
:tag('td')
:wikitext(item.
:wikitext(item.suffixItem)▼
:done()
:tag('td')
:wikitext(item.
:done()
:tag('td')
:wikitext(item.
:done()
:tag('td')
:wikitext(item.
:done()
|