Module:Item

From Curse of Aros
Jump to: navigation, search

Documentation for this module may be created at Module:Item/doc

local export = {}

local pagename = mw.title.getCurrentTitle().fullText

function export.show(frame)
	return export.inline(frame.args.name)
end

function export.inline(name)
	return '[[File:' .. name:gsub(' ', '_') .. '_m.png|16px]] [[' .. name .. ']]'
end

return export