{{#invoke:extracted|extracted|filename.png}}
local p = {} --p stands for package
function p.extracted(frame)
if frame.args['start'] then
return frame.args['start']
end
if frame.args['end'] then
return frame.args['end']
end
return '[[file:' .. frame.args[1] .. '|1px]]'
end
return p