Module:Sandbox/User:Alsang/PriceChecker: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

6 January 2025

4 December 2024

3 December 2024

  • curprev 20:0720:07, 3 December 2024Alsang talk contribs 585 bytes +2 No edit summary undo
  • curprev 20:0520:05, 3 December 2024Alsang talk contribs 583 bytes +583 Created page with "local p = {} -- non dynamic module, no inputs function p.main() -- returns only directly needed parameter needed for the row, -- other parameters are determined by subqueries of chained pages local query = { '-Sold item::~*', '?=Name', '?-Sold item.Shop sell price=ShopValue', '?Value=InfoboxValue', 'limit = 500' } local results = mw.smw.ask(query) local out = {} for _,item in ipairs(results) do if not(tonumber(item.ShopValue)==tonumber(item.Inf..."