Module:Items: Difference between revisions

Tweaks to skillcape table
(Added skillcape table)
(Tweaks to skillcape table)
Line 1,895: Line 1,895:


   result = result..'\r\n{|class="wikitable sortable"'
   result = result..'\r\n{|class="wikitable sortable"'
   result = result..'\r\n!Cape'
   result = result..'\r\n!colspan="2" style="width:200px"|Cape'
   result = result..'!!Description!!Price'
   result = result..'!!Description!!Price'


Line 1,907: Line 1,907:
                       end)
                       end)
   for i, thisItem in pairs(capeList) do
   for i, thisItem in pairs(capeList) do
     result = result..'\r\n|-\r\n|'..Icons.Icon({thisItem.name, type='item'})
     result = result..'\r\n|-\r\n|'..Icons.Icon({thisItem.name, type='item', size='50', notext=true})
    result = result..'||[['..thisItem.name..']]'
     result = result..'\r\n||'..thisItem.description
     result = result..'\r\n||'..thisItem.description
     result = result..'||style="text-align:left" data-sort-value="'..thisItem.buysFor..'"'
     result = result..'||style="text-align:left" data-sort-value="'..thisItem.buysFor..'"'