Module:InfoboxImage: Difference between revisions

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 more asserts - this is still intermittently failing somewhere)
(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.)
Line 236:
result = result .. "|border";
end
if upright ~== "yes" then
result = result .. "|upright";
elseif upright ~= "" then
result = result .. "|upright=" .. upright;
end
Anonymous user