Module:Sandbox/User:Alsang: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 87: | Line 87: | ||
for i,item in ipairs(variants) do |
for i,item in ipairs(variants) do |
||
for j,jtem in ipairs(weapons) do |
for j,jtem in ipairs(weapons) do |
||
table.insert(allWeapons,{suffixPage='[[' .. jtem .. ' (' .. item .. ')]]',prefixPage='[[' .. item .. ' |
table.insert(allWeapons,{suffixPage='[[' .. jtem .. ' (' .. item .. ')]]',prefixPage='[[' .. item .. ' ' .. jtem .. ']]'}) |
||
end |
end |
||
end |
end |
||
Line 134: | Line 134: | ||
:tag('th') |
:tag('th') |
||
:wikitext('Recipe Facility (prefix)') |
:wikitext('Recipe Facility (prefix)') |
||
:done() |
|||
:tag('th') |
|||
:wikitext('3rd thing') |
|||
:done() |
:done() |
||
:done() |
:done() |
||
Line 159: | Line 156: | ||
:tag('td') |
:tag('td') |
||
:wikitext(item.prefixFacility) |
:wikitext(item.prefixFacility) |
||
:done() |
|||
:tag('td') |
|||
:wikitext(item.thirdThing) |
|||
:done() |
:done() |
||
Line 169: | Line 163: | ||
return out |
return out |
||
--for debugging |
|||
--return '<pre>'..mw.text.jsonEncode(args, mw.text.JSON_PRETTY)..'</pre>' |
|||
end |
end |