Module:Sandbox/User:Alsang: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 88: Line 88:
for i,var in ipairs(variants) do
for i,var in ipairs(variants) do
for j,wep in ipairs(weapons) do
for j,wep in ipairs(weapons) do
table.insert(allWeapons,{page='[[' .. wep .. ' (' .. var .. ')]]',wrongPage1='[[' .. wep .. ' (' .. variants2[i] .. ')]]',wrongPage2='[[' .. variants2[i] .. ' ' .. wep .. ']]'})
table.insert(allWeapons,{page='[[' .. wep .. ' (' .. var .. ')]]',redirect='[[' .. wep .. ' (' .. variants2[i] .. ')]]',wrong='[[' .. variants2[i] .. ' ' .. wep .. ']]'})
end
end
end
end
Line 119: Line 119:
:done()
:done()
:tag('th')
:tag('th')
:wikitext('Incorrect page names')
:wikitext('Redirect page')
:done()
:tag('th')
:wikitext('Incorrect page name')
:done()
:done()
:done()
:done()
Line 135: Line 138:
:done()
:done()
:tag('td')
:tag('td')
:wikitext(item.wrongPage1)
:wikitext(item.redirect)
:wikitext('<br>')
:done()
:wikitext(item.wrongPage2)
:tag('td')
:wikitext(item.wrong)
:done()
:done()