Module:User-Lavallen/test2
Appearance
Documentation for this module may be created at Module:User-Lavallen/test2/doc
local p = {}
function p.formatImage( value, options )
local str = '[[Image:' .. value .. '|thumb'
if options.legend then
str = str .. '|' .. options.legend
end
return str .. ']]'
end
function p.formatCOA( value, options )
local str = '[[Image:' .. value .. '|'
if options.coasize then
str = str .. options.coasize
else
str = str .. '15px'
end
str = str .. ']]'
return str
end
return p