વિભાગ:InfoboxImage: આવૃત્તિઓ વચ્ચેનો તફાવત

Content deleted Content added
Allow upright=yes to add "|upright" without a value (File:Name.png|frameless|upright). Tested with /sandbox and /testcases. Announced on talk page 7 days ago, no comments posted.
add page param from sandbox changes by User:Xover
લીટી ૧:
-- 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 multipage images (DjVu)
-- size - size to display the image
-- maxsize - maximum size for image
Line ૧૭૫ ⟶ ૧૭૬:
else
local result = "";
local page = frame.args["page"];
local size = frame.args["size"];
local maxsize = frame.args["maxsize"];
Line ૨૧૭ ⟶ ૨૧૯:
result = "[[File:" .. image;
if page ~= "" and page ~= nil then
result = result .. "|page=" .. page;
end
if size ~= "" and size ~= nil then
result = result .. "|" .. size;