Module:Sandbox/ABaso (WMF)/InfoboxImage: Difference between revisions

Content deleted Content added
Created page with '-- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display for...'
 
No edit summary
Line 2:
-- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link
-- page - page to display for multipage images (DjVu)
-- classimgclass - CSS class for microformats (usually photo)
-- size - size to display the image
-- maxsize - maximum size for image
Line 183:
local result = "";
local page = frame.args["page"];
local classimgclass= frame.args["classimgclass"];
local size = frame.args["size"];
local maxsize = frame.args["maxsize"];
Line 233:
result = result .. "|page=" .. page;
end
if classimgclass ~= "" and classimgclass ~= nil then
result = result .. "|class=" .. classimgclass;
end
if size ~= "" and size ~= nil then