Module:InfoboxImage: திருத்தங்களுக்கு இடையிலான வேறுபாடு

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
imported>Sukanthi
"-- Inputs: -- image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link -- page - page to display for multipage images (DjVu) -- size - size to display the image -- maxsize - maximum size for image -- sizedefault - default size to display the image if size param is blank -- alt - alt text for..."-இப்பெயரில் புதிய பக்கம் உருவாக்கப்பட்டுள்ளது
imported>Ravidreams
சி en:Module:InfoboxImage இலிருந்து திருத்தம் இறக்குமதி செய்யப்பட்டன
 
வரிசை 22:
"Blue - Replace this image female.svg",
"Blue - Replace this image male.svg",
"Female no free image yet.png",
"Flag of None (square).svg",
"Flag of None.svg",
வரி 39 ⟶ 38:
"Red - Replace this image female.svg",
"Red - Replace this image male.svg",
"Replace this image female (blue).svg",
"Replace this image female.svg",
"Replace this image male (blue).svg",
வரி 91 ⟶ 89:
"Noimage.gif",
}
 
local categories = {
url_image_links = "[[Category:Pages using infoboxes with URL in image parameter]]",
thumbnail_images = "[[Category:Pages using infoboxes with thumbnail images]]",
}
 
local function trackable()
local ns = mw.title.getCurrentTitle().nsText:lower()
return not (ns == 'user' or ns == 'user talk')
end
 
function i.IsPlaceholder(image)
வரி 142 ⟶ 150:
end
end
end
 
if mwstring.ustring.lower(mw.ustring.subfind(image,1,5)) == "http^%[*https?:") then
-- Error category.
return "";
return trackable() and categories.url_image_links or ""
end
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "[http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[[http:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "https:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,7)) == "[https:" then
return "";
end
if mw.ustring.lower(mw.ustring.sub(image,1,8)) == "[[https:" then
return "";
end
 
if mw.ustring.sub(image,1,2) == "[[" then
வரி 166 ⟶ 160:
local cat = "";
if mw.title.getCurrentTitle().namespace == 0 and (mw.ustring.find(image, "|%s*thumb%s*[|%]]") or mw.ustring.find(image, "|%s*thumbnail%s*[|%]]")) then
cat = "[[Category:Pagestrackable() usingand infoboxescategories.thumbnail_images withor thumbnail images]]";"
end
return image .. cat;
"https://tamilar.wiki/w/Module:InfoboxImage" இலிருந்து மீள்விக்கப்பட்டது