মডিউল:RawImage: সংশোধিত সংস্করণের মধ্যে পার্থক্য
বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
hmm |
hmm |
||
১৮ নং লাইন:
if pagename == nil then
error("invoke with <nowiki>{{raw image|</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>")
return 'Invoke with <nowiki>{{raw image|</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>'
end
৩৪ নং লাইন:
if slash == nil then
-- there is no slash, this page corresponds to a single-page image
return '
else
-- this page title contains a slash, so compose the name of the hi-res file.
৪২ নং লাইন:
-- check if the hi-ref version exists
if mw.title.new(
-- hi-res version exists, let's link to it
return '{{block center|[[' .. hiRes .. '|frameless|center|360px]]{{right|{{x-smaller block|([[:File:' .. hiRes .. '|Improve this image]])}}}}}}'
|