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

Content deleted Content added
add center code from sandbox from User:Tlustulimu and also add title param
if title blank then use alt
લીટી ૧૭૦:
if alt ~= "" and alt ~= nil then
result = result .. "|alt=" .. alt;
elseif title ~= "" and title ~= nil then
result = result .. "|alt=" .. title;
end
if border == "yes" then
Line ૧૮૧ ⟶ ૧૭૯:
if title ~= "" and title ~= nil then
result = result .. "|" .. title;
elseif titlealt ~= "" and titlealt ~= nil then
result = result .. "|alt=" .. titlealt;
end
result = result .. "]]";