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: | Line 236: | ||
result = result .. "|border"; |
result = result .. "|border"; |
||
end |
end |
||
if upright |
if upright == "yes" then |
||
result = result .. "|upright"; |
|||
elseif upright ~= "" then |
|||
result = result .. "|upright=" .. upright; |
result = result .. "|upright=" .. upright; |
||
end |
end |