Module:Sandbox/User:Alsang/PriceChecker: Difference between revisions
Module:Sandbox/User:Alsang/PriceChecker (edit)
Revision as of 20:02, 6 January 2025
, Monday at 20:02no edit summary
No edit summary |
No edit summary |
||
Line 6:
-- other parameters are determined by subqueries of chained pages
local query = {
'[[-Sold item.Shop sell price::+]]',
'?=Name',
'?-Sold item.Shop sell price=ShopValue',
Line 21:
local add = true
if type(s)=='string' then
if i==tonumber(s) or not(tonumber(s)) then
add = false
end
elseif type(s)=='table' then
for _,shop in ipairs(s) do
if i==tonumber(shop) or not(tonumber(shop)) then
add = false
end
|