Module:InfoboxImage: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(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
result = result .. "|upright";
elseif upright ~= "" then
result = result .. "|upright=" .. upright;
end
|