Anonymous user
Module:InfoboxImage: Difference between revisions
if title blank then use alt
(add center code from sandbox from User:Tlustulimu and also add title param) |
(if title blank then use alt) |
||
Line 170:
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 181 ⟶ 179:
if title ~= "" and title ~= nil then
result = result .. "|" .. title;
end
result = result .. "]]";
|