Module:Sandbox/User:Alsang: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
local variants = {'Basic','Moderate','Fine','Strong','Superior','Perfect'} |
local variants = {'Basic','Moderate','Fine','Strong','Superior','Perfect'} |
||
local weapons = {'Hammerfist','Throwing Stones','Stone Slab Shield', |
|||
'Stone Mace','Stone Discs','War Hammer', |
|||
'Bolas','Stone Chunk Shield','Double Headed Hammer', |
|||
'Throwing Clubs','Great Stone Mace',' Polished Stone Shield', |
|||
'Throwing Hammers','Great Hammer','Sling'} |
|||
local weapons = {'Hammerfist','Throwing Stones','Stone Slab Shield', |
|||
'Stone Mace','Stone Discs','War Hammer', |
|||
'Bolas','Stone Chunk Shield','Double Headed Hammer', |
|||
'Throwing Clubs','Great Stone Mace',' Polished Stone Shield', |
|||
'Throwing Hammers','Great Hammer','Sling'} |
|||
local weapons = {'Hammerfist','Throwing Stones','Stone Slab Shield', |
local weapons = {'Hammerfist','Throwing Stones','Stone Slab Shield', |
||
'Stone Mace','Stone Discs','War Hammer', |
'Stone Mace','Stone Discs','War Hammer', |
||
Line 23: | Line 13: | ||
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,{pagename='[[' .. jtem .. ' (' .. item .. ')]]',wrongname='[[' .. item .. ' ' .. jtem .. ' |
table.insert(allWeapons,{pagename='[[' .. jtem .. ' (' .. item .. ')]]',wrongname='[[' .. item .. ' ' .. jtem .. ']]'}) |
||
end |
end |
||
end |
end |
||
Line 67: | Line 57: | ||
:tag('th') |
:tag('th') |
||
:wikitext('Page') |
:wikitext('Page') |
||
⚫ | |||
⚫ | |||
⚫ | |||
:done() |
:done() |
||
:tag('th') |
:tag('th') |
||
Line 92: | Line 85: | ||
:tag('td') |
:tag('td') |
||
:wikitext(item.pagename) |
:wikitext(item.pagename) |
||
⚫ | |||
⚫ | |||
⚫ | |||
:done() |
:done() |
||
:tag('td') |
:tag('td') |
||
Line 175: | Line 171: | ||
:tag('th') |
:tag('th') |
||
:wikitext('Page name') |
:wikitext('Page name') |
||
⚫ | |||
⚫ | |||
⚫ | |||
:done() |
:done() |
||
:tag('th') |
:tag('th') |
||
Line 199: | Line 192: | ||
:tag('th') |
:tag('th') |
||
:wikitext('duration') |
:wikitext('duration') |
||
:done() |
|||
:tag('th') |
|||
:wikitext('Wrong page name (shouldnt exist)') |
|||
:done() |
:done() |
||
:done() |
:done() |
||
Line 206: | Line 202: | ||
:tag('td') |
:tag('td') |
||
:wikitext(item.pagename) |
:wikitext(item.pagename) |
||
⚫ | |||
⚫ | |||
⚫ | |||
:done() |
:done() |
||
:tag('td') |
:tag('td') |
||
Line 230: | Line 223: | ||
:tag('td') |
:tag('td') |
||
:wikitext(item.duration) |
:wikitext(item.duration) |
||
:done() |
|||
:tag('td') |
|||
:wikitext(item.wrongname) |
|||
:done() |
:done() |
||