Module:InfoboxImage

From Random Island Wiki
Revision as of 13:49, 28 August 2012 by >WOSlinker
Jump to navigation Jump to search

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

local i = {};

function i.InfoboxImage(frame)
    if string.sub(frame.args["image"],1,2) == "[[" then
        return frame.args["image"];
    else
        return "[[File:" .. frame.args["image"] .. "|frameless]]" ;
    end
end

return i;