Module:Shop: Difference between revisions

m
Price -> Cost for consistency with other shop tables
(getShopSkillcapeTable: Rework to generate from shop data)
m (Price -> Cost for consistency with other shop tables)
Line 265: Line 265:
   table.insert(resultPart, '{|class="wikitable sortable stickyHeader"')
   table.insert(resultPart, '{|class="wikitable sortable stickyHeader"')
   table.insert(resultPart, '|- class="headerRow-0"')
   table.insert(resultPart, '|- class="headerRow-0"')
   table.insert(resultPart, '!colspan="2" style="width:200px"|Cape!!Description!!style="width:120px"|Price')
   table.insert(resultPart, '!colspan="2" style="width:200px"|Cape!!Description!!style="width:120px"|Cost')


   --Sort the table by cost and then name
   --Sort the table by cost and then name