Anonymous

Module:ItemsTable: Difference between revisions

From Melvor Idle
m
no edit summary
No edit summary
mNo edit summary
Line 20: Line 20:
   end
   end
   local result = ''
   local result = ''
   if frame and frame.args[2] == 'start' then
   if frame.args[2] == 'start' then
     result = result..'{| class="wikitable sortable stickyHeader"\r\n|-\r\nclass="headerRow-0"\r\n!colspan="2"|Item!ID!Category!Type!Sells For!Item Sources!Item Uses'
     result = result..'{| class="wikitable sortable stickyHeader"\r\n|-\r\nclass="headerRow-0"\r\n!colspan="2"|Item!ID!Category!Type!Sells For!Item Sources!Item Uses'
   end
   end
Line 26: Line 26:
     result = result..item
     result = result..item
   end
   end
   if frame and frame.args[2] == 'end' then
   if frame.args[2] == 'end' then
     result = result..'\r\n|}'
     result = result..'\r\n|}'
   end
   end
444

edits