د "Module:InfoboxImage" د بڼو تر مېنځ توپير

Content deleted Content added
د سمون لنډیز نسته
نښلنونه: د موبايل سمون د موبايل وېب سمون
ود سمون لنډیز نسته
۱۶۲ کرښه:
if mw.ustring.sub(image,1,2) == "[[" then
-- search for thumbnail images and add to tracking cat if found
if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then
return image .. "[[Category:Pagesخانہ usingمعلومات infoboxesاستعمال withکنندہ thumbnailصفحات imagesمع تھمب نیل تصاویر]]";
elseif mw.title.getCurrentTitle().namespace == 0 then
return image;
else
return image;
Line ۱۷۲ ⟶ ۱۷۴:
return image;
elseif mw.ustring.sub(image,1,5) == mw.ustring.char(127).."UNIQ" then
-- Found strip marker at begining, so pass don't process at all
return image;
elseif mw.ustring.sub(image,4,9) == "`UNIQ-" then
-- Found strip marker at begining, so pass don't process at all
return image;
Line ۱۸۷ ⟶ ۱۹۲:
local thumbtime = frame.args["thumbtime"] or "";
local center= frame.args["center"];
local right = frame.args["right"];
local left = frame.args["left"];
-- remove prefix if exists
Line ۲۳۴ ⟶ ۲۳۷:
result = result .. "|center"
end
if right ~= "" then result = result .. "|right"
elseif left ~= "" then result = result .. "|left"
end
if alt ~= "" and alt ~= nil then
result = result .. "|alt=" .. alt;