વિભાગ:InfoboxImage: આવૃત્તિઓ વચ્ચેનો તફાવત
Content deleted Content added
https exceptions |
tidy sub code as per talk page |
||
લીટી ૫૨:
-- remove file: or image: prefix if exists
if mw.ustring.lower(mw.ustring.sub(image,1,5)) == "file:" then
image = mw.ustring.sub(image,6
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "image:" then
image = mw.ustring.sub(image,7
end
-- Trim spaces
લીટી ૧૨૮:
-- remove file: or image: prefix if exists
if mw.ustring.lower(mw.ustring.sub(image,1,5)) == "file:" then
image = mw.ustring.sub(image,6
end
if mw.ustring.lower(mw.ustring.sub(image,1,6)) == "image:" then
image = mw.ustring.sub(image,7
end
|