Bureaucrats, editor, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
47,390
edits
(Created page with "-- <nowiki> local prices = mw.loadJsonData('Module:GEPrices/data.json') local _coins = require('Module:Currency')._amount local p = {} local fmap = { wikitable = 'wikitable', wikitablereverse = 'wikitablereverse', table = 'wikitable', t = 'wikitable', rtable = 'wikitablereverse', rt = 'wikitablereverse', bracket = 'bracket', b = 'bracket', backetreverse = 'backetreverse', rb = 'backetreverse', item = 'item', price = 'price', none = 'none' } local formats =...") |
No edit summary Tag: Reverted |
||
Line 1:
local p = {}
local expr = mw.ext.ParserFunctions.expr
local fmap = {▼
local args = getargs(frame)
return p._min(args)
end▼
function
local
for
if comp(pr, value) then▼
value = pr▼
end▼
end
end
return
end
function p.
local args = getargs(frame)
return p._max(args)
▲end
▲function p._max(args)
end
function p.
local
local pargs = frame:getParent().args▼
for _, v in ipairs(tbl) do
end▼
r1 = string.format('[[%s]]', r1)▼
end
return high
if pargs.var then▼
function getargs(frame)
for _, v in ipairs(args) do
w = tonumber(w) or tonumber(expr(w))
table.insert(nums,w)
end
end
return
end
return p
|