𨀈𬧐內容

恪別𡧲版𢯢𢷮𧵑「Module:Multiple image」

83 bytes removed 、 𣈜10𣎃12𢆥2023
no edit summary
(造張㵋貝內容「-- implements template:multiple image local p = {} local autoscaledimages local nonautoscaledimages local function isnotempty(s) return s and s:match( '^%s*(.-)%s*$…」)
 
空固𥿂略𢯢𢷮
 
𣳔232: 𣳔232:


local div = root:tag('div')
local div = root:tag('div')
div:addClass('thumbinner')
div:addClass('thumbinner multiimageinner')
div:css('width', tostring(bodywidth) .. 'px')
div:css('width', tostring(bodywidth) .. 'px')
:css('max-width', tostring(bodywidth) .. 'px')
:css('max-width', tostring(bodywidth) .. 'px')
𣳔301: 𣳔301:
return frame:extensionTag {name = 'templatestyles', args = {src = 'Multiple image/styles.css', wrapper = ".tmulti"}}
return frame:extensionTag {name = 'templatestyles', args = {src = 'Multiple image/styles.css', wrapper = ".tmulti"}}
.. renderMultipleImages( frame )
.. renderMultipleImages( frame )
.. (autoscaledimages and '[[Thể loại:Trang sử dụng bản mẫu nhiều hình với các hình được chia tỷ lệ tự động]]' or '')
.. (autoscaledimages and '[[Category:Pages using multiple image with auto scaled images]]' or '')
.. (nonautoscaledimages and '[[Thể loại:Trang sử dụng bản mẫu nhiều hình với các hình được chia tỷ lệ thủ công]]' or '')
.. (nonautoscaledimages and '[[Category:Pages using multiple image with manual scaled images]]' or '')
end
end


return p
return p