Module:HerbGallery
Documentation for this module may be created at Module:HerbGallery/doc
local p = {} --p stands for package
function p.gallery( frame )
local result = ""
local origArgs = (type(frame.getParent) == 'function') and frame:getParent().args or frame
local imageCount = math.ceil(#origArgs)
return imageCount
end
return p