Jump to content

Module:Side box: Difference between revisions

fix metadata logic
(use Module:Yesno for the args.metadata code)
(fix metadata logic)
Line 27: Line 27:
-- Main table classes
-- Main table classes
data.classes = {}
data.classes = {}
if yesno(args.metadata, true) then
if yesno(args.metadata) ~= false then
table.insert(data.classes, 'metadata')
table.insert(data.classes, 'metadata')
end
end
Cookies help us deliver our services. By using our services, you agree to our use of cookies.