Module:Navboxes: Difference between revisions

m
no edit summary
m (formatting error)
mNo edit summary
Line 15: Line 15:
     end
     end
   end
   end
  table.sort(capeList, function(a,b)
    return a < b
  end)
   local result = '{| class="wikitable" style="margin:auto; clear:both; width: 100%"'
   local result = '{| class="wikitable" style="margin:auto; clear:both; width: 100%"'
   result = result..'\r\n!|'..Icons.Icon({'Cape of Completion', 'Skillcapes', type='item'})
   result = result..'\r\n!'..Icons.Icon({'Cape of Completion', type='item'})..'[[Skillcapes]]'
   result = result..'\r\n|'..table.concat(capeList, ' • ')
   result = result..'\r\n|-'..table.concat(capeList, ' • ')
   result = result..'\r\n|}'
   result = result..'\r\n|}'
   return result
   return result
444

edits