Module:InfoboxImage: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported: Template for journal )
Wikipedia >WOSlinker
(don't use alt as a title when title not set)
Line 269: Line 269:
         if title ~= "" and title ~= nil then
         if title ~= "" and title ~= nil then
             result = result .. "|" .. title;
             result = result .. "|" .. title;
        elseif alt ~= "" and alt ~= nil then
            result = result .. "|" .. alt;
         end
         end
         result = result .. "]]";
         result = result .. "]]";