Module:InfoboxImage: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(add center code from sandbox from User:Tlustulimu and also add title param) |
(if title blank then use alt) |
||
Line 170: | Line 170: | ||
if alt ~= "" and alt ~= nil then |
if alt ~= "" and alt ~= nil then |
||
result = result .. "|alt=" .. alt; |
result = result .. "|alt=" .. alt; |
||
⚫ | |||
⚫ | |||
end |
end |
||
if border == "yes" then |
if border == "yes" then |
||
Line 181: | Line 179: | ||
if title ~= "" and title ~= nil then |
if title ~= "" and title ~= nil then |
||
result = result .. "|" .. title; |
result = result .. "|" .. title; |
||
⚫ | |||
⚫ | |||
end |
end |
||
result = result .. "]]"; |
result = result .. "]]"; |