Module:Attribute ID

local correctImageName = require( 'Module:Capitalize' ).main local getArgs = require( 'Module:Arguments' ).main local p = {}

function p.main local args = getArgs return p._main(args) end

function p._main(args) local formattedImage = string.format('', correctImageName(args[1]), args[2] or '20px', correctImageName(args[1]), args['text'] or correctImageName(args[1])) local formattedLink = string.format('%s', args['link'] or correctImageName(args[1]), args['text'] or correctImageName(args[1])) return string.format(' %s %s ', formattedImage, formattedLink) end

return p