د "Module:InfoboxImage" د بڼو تر مېنځ توپير
Content deleted Content added
د سمون لنډیز نسته نښلنونه: د موبايل سمون د موبايل وېب سمون |
Obaid Raza (خبرې اترې | ونډې) ود سمون لنډیز نسته |
||
۱۶۲ کرښه:
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:
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"];
-- remove prefix if exists
Line ۲۳۴ ⟶ ۲۳۷:
result = result .. "|center"
end
if alt ~= "" and alt ~= nil then
result = result .. "|alt=" .. alt;
|