Module:Sandbox/Frietjes: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 2:
 
function p.data(frame)
local status_letters = 'ACDEGHOPQRTXYZ'
local args = frame.args[1] and frame.args or frame:getParent().args
res = ''
local file = args[1] and mw.title.new(args[1]).file
for m in mw.text.gsplit(status_letters) do
or {width = '?', height = '?', size = '?'}
res = res .. '+' .. m .. '+'
return file[args[2]]
end
return res
end