Module:Extracted
{{#invoke:extracted|extracted|filename.png}}
local p = {} --p stands for package
function p.extracted(frame)
if frame.args['start'] then
return ''
end
if frame.args['end'] then
return [[
]] .. frame:expandTemplate{title = 'extracted'}
end
size = '50px'
-- if mw.title.getCurrentTitle().text:find('Extracted/Sprites') then
-- size = '100px'
-- end
return '[[file:' .. frame.args[1] .. '|' .. size .. ']]'
end
return p